# ClusterLoggingTypes

EKS cluster logging types.

- Source: [`aws-eks/lib/cluster.ts`](https://github.com/aws/aws-cdk/blob/v2.275.0/packages/aws-cdk-lib/aws-eks/lib/cluster.ts#L1140)
- Type last changed: v2.10.0 · 29 Jan 2022

## 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

| Member | Description |
| --- | --- |
| `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. |

## Referenced by

- [`ClusterOptions`](/v2/docs/aws-cdk-lib.aws_eks.ClusterOptions).clusterLogging
