interface EncryptionConfigurationProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.S3.Mixins.CfnBucketPropsMixin.EncryptionConfigurationProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awss3/mixins#CfnBucketPropsMixin_EncryptionConfigurationProperty |
Java | software.amazon.awscdk.mixins.preview.services.s3.mixins.CfnBucketPropsMixin.EncryptionConfigurationProperty |
Python | aws_cdk.mixins_preview.aws_s3.mixins.CfnBucketPropsMixin.EncryptionConfigurationProperty |
TypeScript | @aws-cdk/mixins-preview » aws_s3 » mixins » CfnBucketPropsMixin » EncryptionConfigurationProperty |
Specifies encryption-related information for an Amazon S3 bucket that is a destination for replicated objects.
If you're specifying a customer managed KMS key, we recommend using a fully qualified KMS key ARN. If you use a KMS key alias instead, then AWS resolves the key within the requester’s account. This behavior can result in data that's encrypted with a KMS key that belongs to the requester, and not the bucket owner.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins as s3_mixins } from '@aws-cdk/mixins-preview/aws-s3';
const encryptionConfigurationProperty: s3_mixins.CfnBucketPropsMixin.EncryptionConfigurationProperty = {
replicaKmsKeyId: 'replicaKmsKeyId',
};
Properties
| Name | Type | Description |
|---|---|---|
| replica | 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. |
replicaKmsKeyId?
Type:
string
(optional)
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 .

.NET
Go
Java
Python
TypeScript