aws-cdk-lib.aws_s3.CfnBucket.EncryptionConfigurationProperty

interface EncryptionConfigurationProperty

LanguageType name
.NETAmazon.CDK.AWS.S3.CfnBucket.EncryptionConfigurationProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awss3#CfnBucket_EncryptionConfigurationProperty
Javasoftware.amazon.awscdk.services.s3.CfnBucket.EncryptionConfigurationProperty
Pythonaws_cdk.aws_s3.CfnBucket.EncryptionConfigurationProperty
TypeScript aws-cdk-lib » aws_s3 » CfnBucket » EncryptionConfigurationProperty

Specifies encryption-related information for an Amazon S3 bucket that is a destination for replicated objects.

Example

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_s3 as s3 } from 'aws-cdk-lib';
const encryptionConfigurationProperty: s3.CfnBucket.EncryptionConfigurationProperty = {
  replicaKmsKeyId: 'replicaKmsKeyId',
};

Properties

NameTypeDescription
replicaKmsKeyIdstringSpecifies the ID (Key ARN or Alias ARN) of the customer managed AWS KMS key stored in AWS Key Management Service (KMS) for the destination bucket.

replicaKmsKeyId

Type: string

Specifies the ID (Key ARN or Alias ARN) of the customer managed AWS KMS key stored in AWS Key Management Service (KMS) for the destination bucket.

Amazon S3 uses this key to encrypt replica objects. Amazon S3 only supports symmetric encryption KMS keys. For more information, see Asymmetric keys in AWS KMS in the AWS Key Management Service Developer Guide .