Class CfnClusterPropsMixin.AccessConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.eks.CfnClusterPropsMixin.AccessConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnClusterPropsMixin.AccessConfigProperty>
- Enclosing interface:
CfnClusterPropsMixin.AccessConfigProperty
@Stability(Stable)
public static final class CfnClusterPropsMixin.AccessConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnClusterPropsMixin.AccessConfigProperty>
A builder for
CfnClusterPropsMixin.AccessConfigProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionauthenticationMode(String authenticationMode) Sets the value ofCfnClusterPropsMixin.AccessConfigProperty.getAuthenticationMode()bootstrapClusterCreatorAdminPermissions(Boolean bootstrapClusterCreatorAdminPermissions) bootstrapClusterCreatorAdminPermissions(IResolvable bootstrapClusterCreatorAdminPermissions) build()Builds the configured instance.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
authenticationMode
@Stability(Stable) public CfnClusterPropsMixin.AccessConfigProperty.Builder authenticationMode(String authenticationMode) Sets the value ofCfnClusterPropsMixin.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 CfnClusterPropsMixin.AccessConfigProperty.Builder bootstrapClusterCreatorAdminPermissions(Boolean bootstrapClusterCreatorAdminPermissions) Sets the value ofCfnClusterPropsMixin.AccessConfigProperty.getBootstrapClusterCreatorAdminPermissions()- 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 CfnClusterPropsMixin.AccessConfigProperty.Builder bootstrapClusterCreatorAdminPermissions(IResolvable bootstrapClusterCreatorAdminPermissions) Sets the value ofCfnClusterPropsMixin.AccessConfigProperty.getBootstrapClusterCreatorAdminPermissions()- 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<CfnClusterPropsMixin.AccessConfigProperty>- Returns:
- a new instance of
CfnClusterPropsMixin.AccessConfigProperty - Throws:
NullPointerException- if any required attribute was not provided
-