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:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnCluster.LoggingInfoPropertystatic final classAn implementation forCfnCluster.LoggingInfoProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()You can configure your MSK cluster to send broker logs to different destination types.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getBrokerLogs
You can configure your MSK cluster to send broker logs to different destination types.This configuration specifies the details of these destinations.
Returns union: either
IResolvableorCfnCluster.BrokerLogsProperty- See Also:
-
builder
-