S3ConfigurationProperty Struct
The configuration that specifies an S3 location.
| 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_timestream as timestream } from 'aws-cdk-lib';
const s3ConfigurationProperty: timestream.CfnTable.S3ConfigurationProperty = {
bucketName: 'bucketName',
encryptionOption: 'encryptionOption',
// the properties below are optional
kmsKeyId: 'kmsKeyId',
objectKeyPrefix: 'objectKeyPrefix',
};
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_timestream as timestream
s3_configuration_property = timestream.CfnTable.S3ConfigurationProperty(
bucket_name="bucketName",
encryption_option="encryptionOption",
# the properties below are optional
kms_key_id="kmsKeyId",
object_key_prefix="objectKeyPrefix"
)
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.timestream.*;
S3ConfigurationProperty s3ConfigurationProperty = S3ConfigurationProperty.builder()
.bucketName("bucketName")
.encryptionOption("encryptionOption")
// the properties below are optional
.kmsKeyId("kmsKeyId")
.objectKeyPrefix("objectKeyPrefix")
.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.Timestream;
var s3ConfigurationProperty = new S3ConfigurationProperty {
BucketName = "bucketName",
EncryptionOption = "encryptionOption",
// the properties below are optional
KmsKeyId = "kmsKeyId",
ObjectKeyPrefix = "objectKeyPrefix"
};
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"
s3ConfigurationProperty := &S3ConfigurationProperty{
BucketName: jsii.String("bucketName"),
EncryptionOption: jsii.String("encryptionOption"),
// the properties below are optional
KmsKeyId: jsii.String("kmsKeyId"),
ObjectKeyPrefix: jsii.String("objectKeyPrefix"),
}
Properties
The bucket name of the customer S3 bucket.
encryptionOptionstringencryption_optionstrencryptionOptionStringEncryptionOptionstringEncryptionOption*string required #The encryption option for the customer S3 location.
Options are S3 server-side encryption with an S3 managed key or AWS managed key.
kmsKeyIdoptionalstringkms_key_idoptionalstrkmsKeyIdoptionalStringKmsKeyIdoptionalstringKmsKeyIdoptional*string #The AWS key ID for the customer S3 location when encrypting with an AWS managed key.
objectKeyPrefixoptionalstringobject_key_prefixoptionalstrobjectKeyPrefixoptionalStringObjectKeyPrefixoptionalstringObjectKeyPrefixoptional*string #The object key preview for the customer S3 location.