S3LoggingConfiguration

class aws_cdk.aws_msk.S3LoggingConfiguration(*, bucket, prefix=None)

Bases: object

(experimental) Details of the Amazon S3 destination for broker logs.

Parameters:
  • bucket (IBucket) – (experimental) The S3 bucket that is the destination for broker logs.

  • prefix (Optional[str]) – (experimental) The S3 prefix that is the destination for broker logs. Default: - no prefix

Stability:

experimental

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_msk as msk
import aws_cdk.aws_s3 as s3

# bucket: s3.Bucket

s3_logging_configuration = msk.S3LoggingConfiguration(
    bucket=bucket,

    # the properties below are optional
    prefix="prefix"
)

Attributes

bucket

(experimental) The S3 bucket that is the destination for broker logs.

Stability:

experimental

prefix

(experimental) The S3 prefix that is the destination for broker logs.

Default:
  • no prefix

Stability:

experimental