BrokerLogging
- class aws_cdk.aws_msk_alpha.BrokerLogging(*, cloudwatch_log_group=None, firehose_delivery_stream_name=None, s3=None)
Bases:
object
(experimental) Configuration details related to broker logs.
- Parameters:
cloudwatch_log_group (
Optional
[ILogGroup
]) – (experimental) The CloudWatch Logs group that is the destination for broker logs. Default: - disabledfirehose_delivery_stream_name (
Optional
[str
]) – (experimental) The Kinesis Data Firehose delivery stream that is the destination for broker logs. Default: - disableds3 (
Union
[S3LoggingConfiguration
,Dict
[str
,Any
],None
]) – (experimental) Details of the Amazon S3 destination for broker logs. Default: - disabled
- Stability:
experimental
- ExampleMetadata:
infused
Example:
# vpc: ec2.Vpc # bucket: s3.IBucket cluster = msk.Cluster(self, "cluster", cluster_name="myCluster", kafka_version=msk.KafkaVersion.V2_8_1, vpc=vpc, logging=msk.BrokerLogging( s3=msk.S3LoggingConfiguration( bucket=bucket ) ) )
Attributes
- cloudwatch_log_group
(experimental) The CloudWatch Logs group that is the destination for broker logs.
- Default:
disabled
- Stability:
experimental
- firehose_delivery_stream_name
(experimental) The Kinesis Data Firehose delivery stream that is the destination for broker logs.
- Default:
disabled
- Stability:
experimental
- s3
(experimental) Details of the Amazon S3 destination for broker logs.
- Default:
disabled
- Stability:
experimental