Interface CfnCapabilityProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnCapabilityProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.125.0 (build fdbe357)",
date="2026-01-19T12:03:54.124Z")
@Stability(Stable)
public interface CfnCapabilityProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnCapability.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.eks.*;
CfnCapabilityProps cfnCapabilityProps = CfnCapabilityProps.builder()
.capabilityName("capabilityName")
.clusterName("clusterName")
.deletePropagationPolicy("deletePropagationPolicy")
.roleArn("roleArn")
.type("type")
// the properties below are optional
.configuration(CapabilityConfigurationProperty.builder()
.argoCd(ArgoCdProperty.builder()
.awsIdc(AwsIdcProperty.builder()
.idcInstanceArn("idcInstanceArn")
// the properties below are optional
.idcManagedApplicationArn("idcManagedApplicationArn")
.idcRegion("idcRegion")
.build())
// the properties below are optional
.namespace("namespace")
.networkAccess(NetworkAccessProperty.builder()
.vpceIds(List.of("vpceIds"))
.build())
.rbacRoleMappings(List.of(ArgoCdRoleMappingProperty.builder()
.identities(List.of(SsoIdentityProperty.builder()
.id("id")
.type("type")
.build()))
.role("role")
.build()))
.serverUrl("serverUrl")
.build())
.build())
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnCapabilityPropsstatic final classAn implementation forCfnCapabilityProps -
Method Summary
Modifier and TypeMethodDescriptionstatic CfnCapabilityProps.Builderbuilder()The unique name of the capability within the cluster.The name of the Amazon EKS cluster that contains this capability.default ObjectThe configuration settings for the capability.The delete propagation policy for the capability.The Amazon Resource Name (ARN) of the IAM role that the capability uses to interact with AWS services.getTags()An array of key-value pairs to apply to this resource.getType()The type of capability.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getCapabilityName
The unique name of the capability within the cluster.- See Also:
-
getClusterName
The name of the Amazon EKS cluster that contains this capability.- See Also:
-
getDeletePropagationPolicy
The delete propagation policy for the capability.Currently, the only supported value is
RETAIN, which keeps all resources managed by the capability when the capability is deleted.- See Also:
-
getRoleArn
The Amazon Resource Name (ARN) of the IAM role that the capability uses to interact with AWS services.- See Also:
-
getType
The type of capability.Valid values are
ACK,ARGOCD, orKRO.- See Also:
-
getConfiguration
The configuration settings for the capability.The structure varies depending on the capability type.
Returns union: either
IResolvableorCfnCapability.CapabilityConfigurationProperty- See Also:
-
getTags
An array of key-value pairs to apply to this resource.- See Also:
-
builder
- Returns:
- a
CfnCapabilityProps.BuilderofCfnCapabilityProps
-