Skip to content
v2.274.0

ClusterLoggingTypes Enum ​

EKS cluster logging types.

Example ​

ts
import { KubectlV36Layer } from '@aws-cdk/lambda-layer-kubectl-v36';

const cluster = new eks.Cluster(this, 'Cluster', {
  // ...
  version: eks.KubernetesVersion.V1_36,
  clusterLogging: [
    eks.ClusterLoggingTypes.API,
    eks.ClusterLoggingTypes.AUTHENTICATOR,
    eks.ClusterLoggingTypes.SCHEDULER,
  ],
  kubectlLayer: new KubectlV36Layer(this, 'kubectl'),
});

Members ​

MemberDescription
APILogs pertaining to API requests to the cluster.
AUDITLogs pertaining to cluster access via the Kubernetes API.
AUTHENTICATORLogs pertaining to authentication requests into the cluster.
CONTROLLER_MANAGERLogs pertaining to state of cluster controllers.
SCHEDULERLogs pertaining to scheduling decisions.

Referenced by ​

  • ClusterOptions.clusterLoggingcluster_loggingclusterLoggingClusterLoggingClusterLogging