@Stability(value=Stable)
public static interface CfnCluster.BrokerLogsProperty
extends software.amazon.jsii.JsiiSerializable
This configuration specifies the details of these destinations.
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.*;
BrokerLogsProperty brokerLogsProperty = 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();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnCluster.BrokerLogsProperty.Builder
A builder for
CfnCluster.BrokerLogsProperty |
static class |
CfnCluster.BrokerLogsProperty.Jsii$Proxy
An implementation for
CfnCluster.BrokerLogsProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnCluster.BrokerLogsProperty.Builder |
builder() |
default Object |
getCloudWatchLogs()
Details of the CloudWatch Logs destination for broker logs.
|
default Object |
getFirehose()
Details of the Kinesis Data Firehose delivery stream that is the destination for broker logs.
|
default Object |
getS3()
Details of the Amazon MSK destination for broker logs.
|
@Stability(value=Stable) @Nullable default Object getCloudWatchLogs()
@Stability(value=Stable) @Nullable default Object getFirehose()
@Stability(value=Stable) @Nullable default Object getS3()
@Stability(value=Stable) static CfnCluster.BrokerLogsProperty.Builder builder()
Copyright © 2022. All rights reserved.