enum AuthenticationMode
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.EKS.AuthenticationMode |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awseks#AuthenticationMode |
![]() | software.amazon.awscdk.services.eks.AuthenticationMode |
![]() | aws_cdk.aws_eks.AuthenticationMode |
![]() | aws-cdk-lib » aws_eks » AuthenticationMode |
Represents the authentication mode for an Amazon EKS cluster.
Example
import { KubectlV32Layer } from '@aws-cdk/lambda-layer-kubectl-v32';
declare const vpc: ec2.Vpc;
new eks.Cluster(this, 'Cluster', {
vpc,
version: eks.KubernetesVersion.V1_32,
kubectlLayer: new KubectlV32Layer(this, 'KubectlLayer'),
authenticationMode: eks.AuthenticationMode.API_AND_CONFIG_MAP,
});
Members
Name | Description |
---|---|
CONFIG_MAP | Authenticates using a Kubernetes ConfigMap. |
API_AND_CONFIG_MAP | Authenticates using both the Kubernetes API server and a ConfigMap. |
API | Authenticates using the Kubernetes API server. |
CONFIG_MAP
Authenticates using a Kubernetes ConfigMap.
API_AND_CONFIG_MAP
Authenticates using both the Kubernetes API server and a ConfigMap.
API
Authenticates using the Kubernetes API server.