aws-cdk-lib.aws_eks.CfnCluster.ClusterLoggingProperty

interface ClusterLoggingProperty

LanguageType name
.NETAmazon.CDK.AWS.EKS.CfnCluster.ClusterLoggingProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awseks#CfnCluster_ClusterLoggingProperty
Javasoftware.amazon.awscdk.services.eks.CfnCluster.ClusterLoggingProperty
Pythonaws_cdk.aws_eks.CfnCluster.ClusterLoggingProperty
TypeScript aws-cdk-lib » aws_eks » CfnCluster » ClusterLoggingProperty

The cluster control plane logging configuration for your cluster.

When updating a resource, you must include this ClusterLogging property if the previous CloudFormation template of the resource had it.

Example

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_eks as eks } from 'aws-cdk-lib';
const clusterLoggingProperty: eks.CfnCluster.ClusterLoggingProperty = {
  enabledTypes: [{
    type: 'type',
  }],
};

Properties

NameTypeDescription
enabledTypes?IResolvable | IResolvable | LoggingTypeConfigProperty[]The enabled control plane logs for your cluster. All log types are disabled if the array is empty.

enabledTypes?

Type: IResolvable | IResolvable | LoggingTypeConfigProperty[] (optional)

The enabled control plane logs for your cluster. All log types are disabled if the array is empty.

When updating a resource, you must include this EnabledTypes property if the previous CloudFormation template of the resource had it.