interface ClusterLoggingProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.EKS.CfnClusterPropsMixin.ClusterLoggingProperty |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awseks#CfnClusterPropsMixin_ClusterLoggingProperty |
Java | software.amazon.awscdk.cfnpropertymixins.services.eks.CfnClusterPropsMixin.ClusterLoggingProperty |
Python | aws_cdk.cfn_property_mixins.aws_eks.CfnClusterPropsMixin.ClusterLoggingProperty |
TypeScript | @aws-cdk/cfn-property-mixins » aws_eks » CfnClusterPropsMixin » ClusterLoggingProperty |
The cluster control plane logging configuration for your cluster.
When updating a resource, you must include this
ClusterLoggingproperty 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/cfn-property-mixins';
const clusterLoggingProperty: eks.CfnClusterPropsMixin.ClusterLoggingProperty = {
enabledTypes: [{
type: 'type',
}],
};
Properties
| Name | Type | Description |
|---|---|---|
| enabled | IResolvable | (IResolvable | Logging)[] | The enabled control plane logs for your cluster. All log types are disabled if the array is empty. |
enabledTypes?
Type:
IResolvable | (IResolvable | Logging)[]
(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
EnabledTypesproperty if the previous CloudFormation template of the resource had it.

.NET
Go
Java
Python
TypeScript