Class CfnCapabilityPropsMixin.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.eks.CfnCapabilityPropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnCapabilityPropsMixin>
- Enclosing class:
CfnCapabilityPropsMixin
@Stability(Stable)
public static final class CfnCapabilityPropsMixin.Builder
extends Object
implements software.amazon.jsii.Builder<CfnCapabilityPropsMixin>
A fluent builder for
CfnCapabilityPropsMixin.-
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.The configuration settings for the capability.configuration(IResolvable configuration) The configuration settings for the capability.create()create(CfnPropertyMixinOptions options) deletePropagationPolicy(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 CfnCapabilityPropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnCapabilityPropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnCapabilityPropsMixin.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:
-
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 CfnCapabilityPropsMixin.Builder configuration(CfnCapabilityPropsMixin.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:
-
deletePropagationPolicy
@Stability(Stable) public CfnCapabilityPropsMixin.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:
-
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:
-
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:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnCapabilityPropsMixin>- Returns:
- a newly built instance of
CfnCapabilityPropsMixin.
-