Skip to content
v2.277.0

LoggingTypeConfigProperty Struct ​

The enabled logging type.

For a list of the valid logging types, see the types property of LogSetup in the Amazon EKS API Reference .

Example ​

ts
// 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 loggingTypeConfigProperty: eks.CfnCluster.LoggingTypeConfigProperty = {
  type: 'type',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_eks as eks

logging_type_config_property = eks.CfnCluster.LoggingTypeConfigProperty(
    type="type"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.eks.*;

LoggingTypeConfigProperty loggingTypeConfigProperty = LoggingTypeConfigProperty.builder()
        .type("type")
        .build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.EKS;

var loggingTypeConfigProperty = new LoggingTypeConfigProperty {
    Type = "type"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

loggingTypeConfigProperty := &LoggingTypeConfigProperty{
	Type: jsii.String("type"),
}

Properties ​

typeoptionalstringtypeoptionalstrtypeoptionalStringTypeoptionalstringTypeoptional*string #
The name of the log type.