S3Property Struct
The details of the Amazon S3 destination for broker logs.
| Source | |
|---|---|
| Type last changed |
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',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_msk as msk
s3_property = msk.CfnCluster.S3Property(
enabled=False,
# the properties below are optional
bucket="bucket",
prefix="prefix"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.msk.*;
S3Property s3Property = S3Property.builder()
.enabled(false)
// the properties below are optional
.bucket("bucket")
.prefix("prefix")
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.MSK;
var s3Property = new S3Property {
Enabled = false,
// the properties below are optional
Bucket = "bucket",
Prefix = "prefix"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
s3Property := &S3Property{
Enabled: jsii.Boolean(false),
// the properties below are optional
Bucket: jsii.String("bucket"),
Prefix: jsii.String("prefix"),
}
Properties
bucketoptionalstringbucketoptionalstrbucketoptionalStringBucketoptionalstringBucketoptional*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.
prefixoptionalstringprefixoptionalstrprefixoptionalStringPrefixoptionalstringPrefixoptional*string #The S3 prefix that is the destination for broker logs.