ClusterLoggingTypes

class aws_cdk.aws_eks.ClusterLoggingTypes(value)

Bases: enum.Enum

EKS cluster logging types.

ExampleMetadata

infused

Example:

cluster = eks.Cluster(self, "Cluster",
    # ...
    version=eks.KubernetesVersion.V1_21,
    cluster_logging=[eks.ClusterLoggingTypes.API, eks.ClusterLoggingTypes.AUTHENTICATOR, eks.ClusterLoggingTypes.SCHEDULER
    ]
)

Attributes

API

Logs pertaining to API requests to the cluster.

AUDIT

Logs pertaining to cluster access via the Kubernetes API.

AUTHENTICATOR

Logs pertaining to authentication requests into the cluster.

CONTROLLER_MANAGER

Logs pertaining to state of cluster controllers.

SCHEDULER

Logs pertaining to scheduling decisions.