BrokerLogging
- class aws_cdk.aws_msk.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:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. import aws_cdk.aws_logs as logs import aws_cdk.aws_msk as msk import aws_cdk.aws_s3 as s3 # bucket: s3.Bucket # log_group: logs.LogGroup broker_logging = msk.BrokerLogging( cloudwatch_log_group=log_group, firehose_delivery_stream_name="firehoseDeliveryStreamName", s3=msk.S3LoggingConfiguration( bucket=bucket, # the properties below are optional prefix="prefix" ) )
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