@aws-cdk_aws-msk-alpha.S3LoggingConfiguration

interface S3LoggingConfiguration ๐Ÿ”น

LanguageType name
.NETAmazon.CDK.AWS.MSK.Alpha.S3LoggingConfiguration
Gogithub.com/aws/aws-cdk-go/awscdkmskalpha/v2#S3LoggingConfiguration
Javasoftware.amazon.awscdk.services.msk.alpha.S3LoggingConfiguration
Pythonaws_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.V2_8_1,
  vpc,
  logging: {
    s3: {
      bucket,
    },
  },
});

Properties

NameTypeDescription
bucket๐Ÿ”นIBucketThe S3 bucket that is the destination for broker logs.
prefix?๐Ÿ”นstringThe 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.