AccessConfigProperty Struct
The access configuration for the cluster.
| Source | |
|---|---|
| Type last changed |
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_eks as eks } from 'aws-cdk-lib';
const accessConfigProperty: eks.CfnCluster.AccessConfigProperty = {
authenticationMode: 'authenticationMode',
bootstrapClusterCreatorAdminPermissions: false,
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_eks as eks
access_config_property = eks.CfnCluster.AccessConfigProperty(
authentication_mode="authenticationMode",
bootstrap_cluster_creator_admin_permissions=False
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.eks.*;
AccessConfigProperty accessConfigProperty = AccessConfigProperty.builder()
.authenticationMode("authenticationMode")
.bootstrapClusterCreatorAdminPermissions(false)
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.EKS;
var accessConfigProperty = new AccessConfigProperty {
AuthenticationMode = "authenticationMode",
BootstrapClusterCreatorAdminPermissions = false
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
accessConfigProperty := &AccessConfigProperty{
AuthenticationMode: jsii.String("authenticationMode"),
BootstrapClusterCreatorAdminPermissions: jsii.Boolean(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 .