Class CfnCapability
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.CfnElement
software.amazon.awscdk.CfnRefElement
software.amazon.awscdk.CfnResource
software.amazon.awscdk.services.eks.CfnCapability
- All Implemented Interfaces:
IInspectable,ICapabilityRef,IEnvironmentAware,ITaggableV2,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.119.0 (build 1634eac)",
date="2025-12-01T16:02:20.399Z")
@Stability(Stable)
public class CfnCapability
extends CfnResource
implements IInspectable, ICapabilityRef, ITaggableV2
Resource Type definition for EKS Capability.
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.*;
CfnCapability cfnCapability = CfnCapability.Builder.create(this, "MyCfnCapability")
.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 TypeClassDescriptionstatic interfaceConfiguration settings for an Argo CD capability.static interfaceA mapping between an Argo CD role and IAM Identity Center identities.static interfaceConfiguration for integrating Argo CD with IAM Identity Center.static final classA fluent builder forCfnCapability.static interfaceConfiguration settings for a capability.static interfaceConfiguration for network access to the Argo CD capability's managed API server endpoint.static interfaceAn IAM Identity Center identity (user or group) that can be assigned permissions in a capability.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.interfaces.eks.ICapabilityRef
ICapabilityRef.Jsii$Default, ICapabilityRef.Jsii$ProxyNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.ITaggableV2
ITaggableV2.Jsii$Default, ITaggableV2.Jsii$Proxy -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe CloudFormation resource type name for this resource class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCfnCapability(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnCapability(software.amazon.jsii.JsiiObjectRef objRef) CfnCapability(software.constructs.Construct scope, String id, CfnCapabilityProps props) Create a newAWS::EKS::Capability. -
Method Summary
Modifier and TypeMethodDescriptionstatic StringarnForCapability(ICapabilityRef resource) The Amazon Resource Name (ARN) of the capability.The ARN of the managed application created in IAM Identity Center for this Argo CD capability.The URL of the Argo CD server.The Unix epoch timestamp in seconds for when the capability was created.The Unix epoch timestamp in seconds for when the capability was last modified.The current status of the capability.The version of the capability software that is currently running.A unique name for the capability.A reference to a Capability resource.Tag Manager which manages the tags for this resource.The name of the EKS cluster where you want to create the capability.Configuration 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.voidinspect(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.static BooleanChecks whether the given object is a CfnCapability.renderProperties(Map<String, Object> props) voidsetCapabilityName(String value) A unique name for the capability.voidsetClusterName(String value) The name of the EKS cluster where you want to create the capability.voidsetConfiguration(IResolvable value) Configuration settings for a capability.voidConfiguration settings for a capability.voidsetDeletePropagationPolicy(String value) Specifies how Kubernetes resources managed by the capability should be handled when the capability is deleted.voidsetRoleArn(String value) The Amazon Resource Name (ARN) of the IAM role that the capability uses to interact with AWS services.voidAn array of key-value pairs to apply to this resource.voidThe type of capability to create.Methods inherited from class software.amazon.awscdk.CfnResource
addDeletionOverride, addDependency, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getAtt, getCfnOptions, getCfnResourceType, getEnv, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, obtainDependencies, obtainResourceDependencies, removeDependency, replaceDependency, shouldSynthesize, toString, validatePropertiesMethods inherited from class software.amazon.awscdk.CfnRefElement
getRefMethods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdMethods inherited from class software.constructs.Construct
getNode, isConstructMethods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface software.constructs.IConstruct
getNodeMethods inherited from interface software.amazon.awscdk.interfaces.IEnvironmentAware
getEnvMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
-
-
Constructor Details
-
CfnCapability
protected CfnCapability(software.amazon.jsii.JsiiObjectRef objRef) -
CfnCapability
protected CfnCapability(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnCapability
@Stability(Stable) public CfnCapability(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnCapabilityProps props) Create a newAWS::EKS::Capability.- Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.props- Resource properties. This parameter is required.
-
-
Method Details
-
arnForCapability
- Parameters:
resource- This parameter is required.
-
isCfnCapability
Checks whether the given object is a CfnCapability.- Parameters:
x- This parameter is required.
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspectin interfaceIInspectable- Parameters:
inspector- tree inspector to collect and process attributes. This parameter is required.
-
renderProperties
@Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String, Object> props) - Overrides:
renderPropertiesin classCfnResource- Parameters:
props- This parameter is required.
-
getAttrArn
The Amazon Resource Name (ARN) of the capability. -
getAttrConfigurationArgoCdAwsIdcIdcManagedApplicationArn
@Stability(Stable) @NotNull public String getAttrConfigurationArgoCdAwsIdcIdcManagedApplicationArn()The ARN of the managed application created in IAM Identity Center for this Argo CD capability.This application is automatically created and managed by EKS.
-
getAttrConfigurationArgoCdServerUrl
The URL of the Argo CD server.Use this URL to access the Argo CD web interface and API.
-
getAttrCreatedAt
The Unix epoch timestamp in seconds for when the capability was created. -
getAttrModifiedAt
The Unix epoch timestamp in seconds for when the capability was last modified. -
getAttrStatus
The current status of the capability.Valid values include: CREATING (the capability is being created), ACTIVE (the capability is running and available), UPDATING (the capability is being updated), DELETING (the capability is being deleted), CREATE_FAILED (the capability creation failed), UPDATE_FAILED (the capability update failed), or DELETE_FAILED (the capability deletion failed).
-
getAttrVersion
The version of the capability software that is currently running. -
getCapabilityRef
A reference to a Capability resource.- Specified by:
getCapabilityRefin interfaceICapabilityRef
-
getCdkTagManager
Tag Manager which manages the tags for this resource.- Specified by:
getCdkTagManagerin interfaceITaggableV2
-
getCfnProperties
- Overrides:
getCfnPropertiesin classCfnResource
-
getCapabilityName
A unique name for the capability. -
setCapabilityName
A unique name for the capability. -
getClusterName
The name of the EKS cluster where you want to create the capability. -
setClusterName
The name of the EKS cluster where you want to create the capability. -
getDeletePropagationPolicy
Specifies how Kubernetes resources managed by the capability should be handled when the capability is deleted. -
setDeletePropagationPolicy
Specifies how Kubernetes resources managed by the capability should be handled when the capability is deleted. -
getRoleArn
The Amazon Resource Name (ARN) of the IAM role that the capability uses to interact with AWS services. -
setRoleArn
The Amazon Resource Name (ARN) of the IAM role that the capability uses to interact with AWS services. -
getType
The type of capability to create. -
setType
The type of capability to create. -
getConfiguration
Configuration settings for a capability.Returns union: either
IResolvableorCfnCapability.CapabilityConfigurationProperty -
setConfiguration
Configuration settings for a capability. -
setConfiguration
@Stability(Stable) public void setConfiguration(@Nullable CfnCapability.CapabilityConfigurationProperty value) Configuration settings for a capability. -
getTags
An array of key-value pairs to apply to this resource. -
setTags
An array of key-value pairs to apply to this resource.
-