Skip to content
v2.275.0

AccessConfigProperty Struct ​

The access configuration for the cluster.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_eks_v2 as eks_v2 } from 'aws-cdk-lib';
const accessConfigProperty: eks_v2.CfnCluster.AccessConfigProperty = {
  authenticationMode: 'authenticationMode',
  bootstrapClusterCreatorAdminPermissions: false,
};

Properties ​

authenticationModeoptionalstringauthentication_modeoptionalstrauthenticationModeoptionalStringAuthenticationModeoptionalstringAuthenticationModeoptional*string#
The desired authentication mode for the cluster.

If you create a cluster by using the EKS API, AWS SDKs, or AWS CloudFormation , the default is CONFIG_MAP . If you create the cluster by using the AWS Management Console , the default value is API_AND_CONFIG_MAP .

bootstrapClusterCreatorAdminPermissionsoptionalboolean | IResolvablebootstrap_cluster_creator_admin_permissionsoptionaltyping.Union[bool, IResolvable]bootstrapClusterCreatorAdminPermissionsoptionalBooleanBootstrapClusterCreatorAdminPermissionsoptionalboolBootstrapClusterCreatorAdminPermissionsoptionalinterface{}#
Specifies whether or not the cluster creator IAM principal was set as a cluster admin access entry during cluster creation time.

The default value is true .