public static interface CfnCluster.LoggingProperty
By default, cluster control plane logs aren't exported to CloudWatch Logs. For more information, see Amazon EKS Cluster control plane logs in the Amazon EKS User Guide .
When updating a resource, you must include this
Logging
property if the previous CloudFormation template of the resource had it. > CloudWatch Logs ingestion, archive storage, and data scanning rates apply to exported control plane logs. For more information, see CloudWatch Pricing .
Example:
// 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.*; LoggingProperty loggingProperty = LoggingProperty.builder() .clusterLogging(ClusterLoggingProperty.builder() .enabledTypes(List.of(LoggingTypeConfigProperty.builder() .type("type") .build())) .build()) .build();
Modifier and Type | Interface and Description |
---|---|
static class |
CfnCluster.LoggingProperty.Builder
A builder for
CfnCluster.LoggingProperty |
static class |
CfnCluster.LoggingProperty.Jsii$Proxy
An implementation for
CfnCluster.LoggingProperty |
Modifier and Type | Method and Description |
---|---|
static CfnCluster.LoggingProperty.Builder |
builder() |
default java.lang.Object |
getClusterLogging()
The cluster control plane logging configuration for your cluster.
|
default java.lang.Object getClusterLogging()
static CfnCluster.LoggingProperty.Builder builder()
CfnCluster.LoggingProperty.Builder
of CfnCluster.LoggingProperty