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.125.0 (build fdbe357)",
date="2026-01-19T12:03:54.121Z")
@Stability(Stable)
public class CfnCapability
extends CfnResource
implements IInspectable, ICapabilityRef, ITaggableV2
An object representing a managed capability in an Amazon EKS cluster.
This includes all configuration, status, and health information for the 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 CenterIAM;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 CenterIAM;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.The unique name of the capability within the cluster.A reference to a Capability resource.Tag Manager which manages the tags for this resource.The name of the Amazon EKS cluster that contains this capability.The 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.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) The unique name of the capability within the cluster.voidsetClusterName(String value) The name of the Amazon EKS cluster that contains this capability.voidsetConfiguration(IResolvable value) The configuration settings for the capability.voidThe configuration settings for the capability.voidsetDeletePropagationPolicy(String value) The delete propagation policy for the capability.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.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.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
The unique name of the capability within the cluster. -
setCapabilityName
The unique name of the capability within the cluster. -
getClusterName
The name of the Amazon EKS cluster that contains this capability. -
setClusterName
The name of the Amazon EKS cluster that contains this capability. -
getDeletePropagationPolicy
The delete propagation policy for the capability. -
setDeletePropagationPolicy
The delete propagation policy for the capability. -
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. -
setType
The type of capability. -
getConfiguration
The configuration settings for the capability.Returns union: either
IResolvableorCfnCapability.CapabilityConfigurationProperty -
setConfiguration
The configuration settings for the capability. -
setConfiguration
@Stability(Stable) public void setConfiguration(@Nullable CfnCapability.CapabilityConfigurationProperty value) The configuration settings for the 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.
-