Interface CfnCluster.LoggingInfoProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnCluster.LoggingInfoProperty.Jsii$Proxy
Enclosing class:
CfnCluster

@Stability(Stable) public static interface CfnCluster.LoggingInfoProperty extends software.amazon.jsii.JsiiSerializable
You can configure your MSK cluster to send broker logs to different destination types.

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();
 

See Also: