S3ConfigProperty Struct
Information about the Amazon Simple Storage Service (Amazon S3) storage type.
| 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_connect as connect } from 'aws-cdk-lib';
const s3ConfigProperty: connect.CfnInstanceStorageConfig.S3ConfigProperty = {
bucketName: 'bucketName',
bucketPrefix: 'bucketPrefix',
// the properties below are optional
encryptionConfig: {
encryptionType: 'encryptionType',
keyId: 'keyId',
},
};
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_connect as connect
s3_config_property = connect.CfnInstanceStorageConfig.S3ConfigProperty(
bucket_name="bucketName",
bucket_prefix="bucketPrefix",
# the properties below are optional
encryption_config=connect.CfnInstanceStorageConfig.EncryptionConfigProperty(
encryption_type="encryptionType",
key_id="keyId"
)
)
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.connect.*;
S3ConfigProperty s3ConfigProperty = S3ConfigProperty.builder()
.bucketName("bucketName")
.bucketPrefix("bucketPrefix")
// the properties below are optional
.encryptionConfig(EncryptionConfigProperty.builder()
.encryptionType("encryptionType")
.keyId("keyId")
.build())
.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.Connect;
var s3ConfigProperty = new S3ConfigProperty {
BucketName = "bucketName",
BucketPrefix = "bucketPrefix",
// the properties below are optional
EncryptionConfig = new EncryptionConfigProperty {
EncryptionType = "encryptionType",
KeyId = "keyId"
}
};
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"
s3ConfigProperty := &S3ConfigProperty{
BucketName: jsii.String("bucketName"),
BucketPrefix: jsii.String("bucketPrefix"),
// the properties below are optional
EncryptionConfig: &EncryptionConfigProperty{
EncryptionType: jsii.String("encryptionType"),
KeyId: jsii.String("keyId"),
},
}
Properties
The S3 bucket name.
bucketPrefixstringbucket_prefixstrbucketPrefixStringBucketPrefixstringBucketPrefix*string required #The S3 bucket prefix.
encryptionConfigoptionalIResolvable | CfnInstanceStorageConfig.encryption_configoptionaltyping.Union[IResolvable, EncryptionConfigProperty]encryptionConfigoptionalIResolvableEncryptionConfigoptionalIResolvableEncryptionConfigoptionalinterface{} #The Amazon S3 encryption configuration.