interface BrokerLogging
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.MSK.BrokerLogging |
Java | software.amazon.awscdk.services.msk.BrokerLogging |
Python | aws_cdk.aws_msk.BrokerLogging |
TypeScript (source) | @aws-cdk/aws-msk » BrokerLogging |
Configuration details related to broker logs.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as logs from '@aws-cdk/aws-logs';
import * as msk from '@aws-cdk/aws-msk';
import * as s3 from '@aws-cdk/aws-s3';
declare const bucket: s3.Bucket;
declare const logGroup: logs.LogGroup;
const brokerLogging: msk.BrokerLogging = {
cloudwatchLogGroup: logGroup,
firehoseDeliveryStreamName: 'firehoseDeliveryStreamName',
s3: {
bucket: bucket,
// the properties below are optional
prefix: 'prefix',
},
};
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.