@Stability(value=Stable)
public static interface CfnCluster.LoggingInfoProperty
extends software.amazon.jsii.JsiiSerializable
This is a container for the configuration details related to broker logs.
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.msk.*;
LoggingInfoProperty loggingInfoProperty = LoggingInfoProperty.builder()
.brokerLogs(BrokerLogsProperty.builder()
.cloudWatchLogs(CloudWatchLogsProperty.builder()
.enabled(false)
// the properties below are optional
.logGroup("logGroup")
.build())
.firehose(FirehoseProperty.builder()
.enabled(false)
// the properties below are optional
.deliveryStream("deliveryStream")
.build())
.s3(S3Property.builder()
.enabled(false)
// the properties below are optional
.bucket("bucket")
.prefix("prefix")
.build())
.build())
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnCluster.LoggingInfoProperty.Builder
A builder for
CfnCluster.LoggingInfoProperty |
static class |
CfnCluster.LoggingInfoProperty.Jsii$Proxy
An implementation for
CfnCluster.LoggingInfoProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnCluster.LoggingInfoProperty.Builder |
builder() |
Object |
getBrokerLogs()
You can configure your Amazon MSK cluster to send broker logs to different destination types.
|
@Stability(value=Stable) @NotNull Object getBrokerLogs()
This configuration specifies the details of these destinations.
@Stability(value=Stable) static CfnCluster.LoggingInfoProperty.Builder builder()
Copyright © 2022. All rights reserved.