Class CfnCapability.Builder
java.lang.Object
software.amazon.awscdk.services.eks.CfnCapability.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnCapability>
- Enclosing class:
CfnCapability
@Stability(Stable)
public static final class CfnCapability.Builder
extends Object
implements software.amazon.jsii.Builder<CfnCapability>
A fluent builder for
CfnCapability.-
Method Summary
Modifier and TypeMethodDescriptionbuild()capabilityName(String capabilityName) The unique name of the capability within the cluster.clusterName(String clusterName) The name of the Amazon EKS cluster that contains this capability.configuration(IResolvable configuration) The configuration settings for the capability.configuration(CfnCapability.CapabilityConfigurationProperty configuration) The configuration settings for the capability.static CfnCapability.BuilderdeletePropagationPolicy(String deletePropagationPolicy) 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.An array of key-value pairs to apply to this resource.The type of capability.
-
Method Details
-
create
@Stability(Stable) public static CfnCapability.Builder create(software.constructs.Construct scope, String id) - 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.- Returns:
- a new instance of
CfnCapability.Builder.
-
capabilityName
The unique name of the capability within the cluster.- Parameters:
capabilityName- The unique name of the capability within the cluster. This parameter is required.- Returns:
this- See Also:
-
clusterName
The name of the Amazon EKS cluster that contains this capability.- Parameters:
clusterName- The name of the Amazon EKS cluster that contains this capability. This parameter is required.- Returns:
this- See Also:
-
deletePropagationPolicy
@Stability(Stable) public CfnCapability.Builder deletePropagationPolicy(String deletePropagationPolicy) 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.- Parameters:
deletePropagationPolicy- The delete propagation policy for the capability. This parameter is required.- Returns:
this- See Also:
-
roleArn
The Amazon Resource Name (ARN) of the IAM role that the capability uses to interact with AWS services.- Parameters:
roleArn- The Amazon Resource Name (ARN) of the IAM role that the capability uses to interact with AWS services. This parameter is required.- Returns:
this- See Also:
-
type
The type of capability.Valid values are
ACK,ARGOCD, orKRO.- Parameters:
type- The type of capability. This parameter is required.- Returns:
this- See Also:
-
configuration
The configuration settings for the capability.The structure varies depending on the capability type.
- Parameters:
configuration- The configuration settings for the capability. This parameter is required.- Returns:
this- See Also:
-
configuration
@Stability(Stable) public CfnCapability.Builder configuration(CfnCapability.CapabilityConfigurationProperty configuration) The configuration settings for the capability.The structure varies depending on the capability type.
- Parameters:
configuration- The configuration settings for the capability. This parameter is required.- Returns:
this- See Also:
-
tags
An array of key-value pairs to apply to this resource.- Parameters:
tags- An array of key-value pairs to apply to this resource. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnCapability>- Returns:
- a newly built instance of
CfnCapability.
-