interface BrokerLogging
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.MSK.Alpha.BrokerLogging |
Go | github.com/aws/aws-cdk-go/awscdkmskalpha/v2#BrokerLogging |
Java | software.amazon.awscdk.services.msk.alpha.BrokerLogging |
Python | aws_cdk.aws_msk_alpha.BrokerLogging |
TypeScript (source) | @aws-cdk/aws-msk-alpha » BrokerLogging |
Configuration details related to broker logs.
Example
declare const vpc: ec2.Vpc;
declare const bucket: s3.IBucket;
const cluster = new msk.Cluster(this, 'cluster', {
clusterName: 'myCluster',
kafkaVersion: msk.KafkaVersion.V2_8_1,
vpc,
logging: {
s3: {
bucket,
},
},
});
Properties
Name | Type | Description |
---|---|---|
cloudwatch | ILog | The CloudWatch Logs group that is the destination for broker logs. |
firehose | string | The Kinesis Data Firehose delivery stream that is the destination for broker logs. |
s3? | S3 | Details of the Amazon S3 destination for broker logs. |
cloudwatchLogGroup?
Type:
ILog
(optional, default: disabled)
The CloudWatch Logs group that is the destination for broker logs.
firehoseDeliveryStreamName?
Type:
string
(optional, default: disabled)
The Kinesis Data Firehose delivery stream that is the destination for broker logs.
s3?
Type:
S3
(optional, default: disabled)
Details of the Amazon S3 destination for broker logs.