interface S3LoggingConfiguration
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.MSK.Alpha.S3LoggingConfiguration |
![]() | github.com/aws/aws-cdk-go/awscdkmskalpha/v2#S3LoggingConfiguration |
![]() | software.amazon.awscdk.services.msk.alpha.S3LoggingConfiguration |
![]() | aws_cdk.aws_msk_alpha.S3LoggingConfiguration |
![]() | @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.V2_8_1,
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.