@Stability(value=Stable)
public static interface CfnCluster.LoggingProperty
extends software.amazon.jsii.JsiiSerializable
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
Loggingproperty 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 Object |
getClusterLogging()
The cluster control plane logging configuration for your cluster.
|
@Stability(value=Stable) @Nullable default Object getClusterLogging()
@Stability(value=Stable) static CfnCluster.LoggingProperty.Builder builder()
CfnCluster.LoggingProperty.Builder of CfnCluster.LoggingPropertyCopyright © 2022. All rights reserved.