Class CfnCluster.AccessConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.services.eks.CfnCluster.AccessConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnCluster.AccessConfigProperty>
- Enclosing interface:
CfnCluster.AccessConfigProperty
@Stability(Stable)
public static final class CfnCluster.AccessConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnCluster.AccessConfigProperty>
A builder for
CfnCluster.AccessConfigProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionauthenticationMode(String authenticationMode) Sets the value ofCfnCluster.AccessConfigProperty.getAuthenticationMode()bootstrapClusterCreatorAdminPermissions(Boolean bootstrapClusterCreatorAdminPermissions) bootstrapClusterCreatorAdminPermissions(IResolvable bootstrapClusterCreatorAdminPermissions) build()Builds the configured instance.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
authenticationMode
@Stability(Stable) public CfnCluster.AccessConfigProperty.Builder authenticationMode(String authenticationMode) Sets the value ofCfnCluster.AccessConfigProperty.getAuthenticationMode()- Parameters:
authenticationMode- The desired authentication mode for the cluster. If you create a cluster by using the EKS API, AWS SDKs, or AWS CloudFormation , the default isCONFIG_MAP. If you create the cluster by using the AWS Management Console , the default value isAPI_AND_CONFIG_MAP.- Returns:
this
-
bootstrapClusterCreatorAdminPermissions
@Stability(Stable) public CfnCluster.AccessConfigProperty.Builder bootstrapClusterCreatorAdminPermissions(Boolean bootstrapClusterCreatorAdminPermissions) - Parameters:
bootstrapClusterCreatorAdminPermissions- Specifies whether or not the cluster creator IAM principal was set as a cluster admin access entry during cluster creation time. The default value istrue.- Returns:
this
-
bootstrapClusterCreatorAdminPermissions
@Stability(Stable) public CfnCluster.AccessConfigProperty.Builder bootstrapClusterCreatorAdminPermissions(IResolvable bootstrapClusterCreatorAdminPermissions) - Parameters:
bootstrapClusterCreatorAdminPermissions- Specifies whether or not the cluster creator IAM principal was set as a cluster admin access entry during cluster creation time. The default value istrue.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnCluster.AccessConfigProperty>- Returns:
- a new instance of
CfnCluster.AccessConfigProperty - Throws:
NullPointerException- if any required attribute was not provided
-