interface LoggingInfoProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.MSK.CfnCluster.LoggingInfoProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsmsk#CfnCluster_LoggingInfoProperty |
Java | software.amazon.awscdk.services.msk.CfnCluster.LoggingInfoProperty |
Python | aws_cdk.aws_msk.CfnCluster.LoggingInfoProperty |
TypeScript | aws-cdk-lib » aws_msk » CfnCluster » LoggingInfoProperty |
You can configure your MSK cluster to send broker logs to different destination types.
This is a container for the 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 { aws_msk as msk } from 'aws-cdk-lib';
const loggingInfoProperty: msk.CfnCluster.LoggingInfoProperty = {
brokerLogs: {
cloudWatchLogs: {
enabled: false,
// the properties below are optional
logGroup: 'logGroup',
},
firehose: {
enabled: false,
// the properties below are optional
deliveryStream: 'deliveryStream',
},
s3: {
enabled: false,
// the properties below are optional
bucket: 'bucket',
prefix: 'prefix',
},
},
};
Properties
| Name | Type | Description |
|---|---|---|
| broker | IResolvable | Broker | You can configure your MSK cluster to send broker logs to different destination types. |
brokerLogs
Type:
IResolvable | Broker
You can configure your MSK cluster to send broker logs to different destination types.
This configuration specifies the details of these destinations.

.NET
Go
Java
Python
TypeScript