AuthenticationMode Enum
Represents the authentication mode for an Amazon EKS cluster.
Example
ts
import { KubectlV36Layer } from '@aws-cdk/lambda-layer-kubectl-v36';
declare const vpc: ec2.Vpc;
new eks.Cluster(this, 'Cluster', {
vpc,
version: eks.KubernetesVersion.V1_36,
kubectlLayer: new KubectlV36Layer(this, 'KubectlLayer'),
authenticationMode: eks.AuthenticationMode.API_AND_CONFIG_MAP,
});
Members
| Member | 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. |
Referenced by
Cluster.authenticationModeauthentication_modeauthenticationModeAuthenticationModeAuthenticationModeClusterOptions.authenticationModeauthentication_modeauthenticationModeAuthenticationModeAuthenticationModeICluster.authenticationModeauthentication_modeauthenticationModeAuthenticationModeAuthenticationMode