AuthenticationMode
- class aws_cdk.aws_eks.AuthenticationMode(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)
Bases:
Enum
Represents the authentication mode for an Amazon EKS cluster.
- ExampleMetadata:
infused
Example:
from aws_cdk.lambda_layer_kubectl_v32 import KubectlV32Layer # vpc: ec2.Vpc eks.Cluster(self, "Cluster", vpc=vpc, version=eks.KubernetesVersion.V1_32, kubectl_layer=KubectlV32Layer(self, "KubectlLayer"), authentication_mode=eks.AuthenticationMode.API_AND_CONFIG_MAP )
Attributes
- API
Authenticates using the Kubernetes API server.
- API_AND_CONFIG_MAP
Authenticates using both the Kubernetes API server and a ConfigMap.
- CONFIG_MAP
Authenticates using a Kubernetes ConfigMap.