Skip to content
v2.273.0

S3Property Struct ​

The details of the Amazon S3 destination for broker logs.

Example ​

ts
// 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 s3Property: msk.CfnCluster.S3Property = {
  enabled: false,

  // the properties below are optional
  bucket: 'bucket',
  prefix: 'prefix',
};

Properties ​

bucketstringbucketstrbucketStringBucketstringBucket*string#
The name of the S3 bucket that is the destination for broker logs.
enabledboolean | IResolvableenabledtyping.Union[bool, IResolvable]enabledBooleanEnabledboolEnabledinterface{}required#
Specifies whether broker logs get sent to the specified Amazon S3 destination.
prefixstringprefixstrprefixStringPrefixstringPrefix*string#
The S3 prefix that is the destination for broker logs.