Skip to content
v2.274.0

S3ConfigurationProperty Struct ​

The configuration that specifies an S3 location.

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',
};

Properties ​

bucketNamestringbucket_namestrbucketNameStringBucketNamestringBucketName*stringrequired#
The bucket name of the customer S3 bucket.
encryptionOptionstringencryption_optionstrencryptionOptionStringEncryptionOptionstringEncryptionOption*stringrequired#
The encryption option for the customer S3 location.

Options are S3 server-side encryption with an S3 managed key or AWS managed key.

kmsKeyIdstringkms_key_idstrkmsKeyIdStringKmsKeyIdstringKmsKeyId*string#
The AWS key ID for the customer S3 location when encrypting with an AWS managed key.
objectKeyPrefixstringobject_key_prefixstrobjectKeyPrefixStringObjectKeyPrefixstringObjectKeyPrefix*string#
The object key preview for the customer S3 location.