@aws-cdk_aws-msk-alpha.BrokerLogging

interface BrokerLogging ๐Ÿ”น

LanguageType name
.NETAmazon.CDK.AWS.MSK.Alpha.BrokerLogging
Gogithub.com/aws/aws-cdk-go/awscdkmskalpha/v2#BrokerLogging
Javasoftware.amazon.awscdk.services.msk.alpha.BrokerLogging
Pythonaws_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

NameTypeDescription
cloudwatchLogGroup?๐Ÿ”นILogGroupThe CloudWatch Logs group that is the destination for broker logs.
firehoseDeliveryStreamName?๐Ÿ”นstringThe Kinesis Data Firehose delivery stream that is the destination for broker logs.
s3?๐Ÿ”นS3LoggingConfigurationDetails of the Amazon S3 destination for broker logs.

cloudwatchLogGroup?๐Ÿ”น

Type: ILogGroup (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: S3LoggingConfiguration (optional, default: disabled)

Details of the Amazon S3 destination for broker logs.