enum AuthenticationMode
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.EKS.AuthenticationMode |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awseks#AuthenticationMode |
Java | software.amazon.awscdk.services.eks.AuthenticationMode |
Python | aws_cdk.aws_eks.AuthenticationMode |
TypeScript (source) | aws-cdk-lib » aws_eks » AuthenticationMode |
Represents the authentication mode for an Amazon EKS cluster.
Example
import { KubectlV33Layer } from '@aws-cdk/lambda-layer-kubectl-v33';
declare const vpc: ec2.Vpc;
new eks.Cluster(this, 'Cluster', {
vpc,
version: eks.KubernetesVersion.V1_33,
kubectlLayer: new KubectlV33Layer(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.

.NET
Go
Java
Python
TypeScript (