interface S3LoggingConfiguration
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.MSK.Alpha.S3LoggingConfiguration |
Go | github.com/aws/aws-cdk-go/awscdkmskalpha/v2#S3LoggingConfiguration |
Java | software.amazon.awscdk.services.msk.alpha.S3LoggingConfiguration |
Python | aws_cdk.aws_msk_alpha.S3LoggingConfiguration |
TypeScript (source) | @aws-cdk/aws-msk-alpha ยป S3LoggingConfiguration |
Details of the Amazon S3 destination for 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.V4_1_X_KRAFT,
vpc,
logging: {
s3: {
bucket,
},
},
});
Properties
| Name | Type | Description |
|---|---|---|
| bucket | IBucket | The S3 bucket that is the destination for broker logs. |
| prefix? | string | The S3 prefix that is the destination for broker logs. |
bucket
Type:
IBucket
The S3 bucket that is the destination for broker logs.
prefix?
Type:
string
(optional, default: no prefix)
The S3 prefix that is the destination for broker logs.

.NET
Go
Java
Python
TypeScript (