Skip to content
v2.275.0

ClusterLoggingProperty Struct ​

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 ​

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

Properties ​

enabledTypesoptionalIResolvable | IResolvable | CfnCluster.LoggingTypeConfigProperty[]enabled_typesoptionaltyping.Union[IResolvable, typing.List[typing.Union[IResolvable, LoggingTypeConfigProperty]]]enabledTypesoptionalIResolvableEnabledTypesoptionalIResolvableEnabledTypesoptionalinterface{}#
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.