Interface CfnCapabilityProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnCapabilityProps.Jsii$Proxy
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()A unique name for the capability.The name of the EKS cluster where you want to create the capability.default ObjectConfiguration settings for a capability.Specifies how Kubernetes resources managed by the capability should be handled when the capability is deleted.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 to create.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getCapabilityName
A unique name for the capability.The name must be unique within your cluster and can contain alphanumeric characters, hyphens, and underscores.
- See Also:
-
getClusterName
The name of the EKS cluster where you want to create the capability.- See Also:
-
getDeletePropagationPolicy
Specifies how Kubernetes resources managed by the capability should be handled when the capability is deleted.Currently, the only supported value is RETAIN which retains all Kubernetes 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.This role must have a trust policy that allows the EKS service principal to assume it, and it must have the necessary permissions for the capability type you're creating.
- See Also:
-
getType
The type of capability to create.Valid values are: ACK (AWS Controllers for Kubernetes, which lets you manage AWS resources directly from Kubernetes), ARGOCD (Argo CD for GitOps-based continuous delivery), or KRO (Kube Resource Orchestrator for composing and managing custom Kubernetes resources).
- See Also:
-
getConfiguration
Configuration settings for a capability.The structure of this object 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
-