interface BucketEncryptionProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.S3Express.CfnDirectoryBucketPropsMixin.BucketEncryptionProperty |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awss3express#CfnDirectoryBucketPropsMixin_BucketEncryptionProperty |
Java | software.amazon.awscdk.cfnpropertymixins.services.s3express.CfnDirectoryBucketPropsMixin.BucketEncryptionProperty |
Python | aws_cdk.cfn_property_mixins.aws_s3express.CfnDirectoryBucketPropsMixin.BucketEncryptionProperty |
TypeScript | @aws-cdk/cfn-property-mixins » aws_s3express » CfnDirectoryBucketPropsMixin » BucketEncryptionProperty |
Specifies default encryption for a bucket using server-side encryption with Amazon S3 managed keys (SSE-S3) or AWS KMS keys (SSE-KMS).
For information about default encryption for directory buckets, see Setting and monitoring default encryption for directory buckets in the Amazon S3 User Guide .
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_s3express as s3express } from '@aws-cdk/cfn-property-mixins';
const bucketEncryptionProperty: s3express.CfnDirectoryBucketPropsMixin.BucketEncryptionProperty = {
serverSideEncryptionConfiguration: [{
bucketKeyEnabled: false,
serverSideEncryptionByDefault: {
kmsMasterKeyId: 'kmsMasterKeyId',
sseAlgorithm: 'sseAlgorithm',
},
}],
};
Properties
| Name | Type | Description |
|---|---|---|
| server | IResolvable | (IResolvable | Server)[] | Specifies the default server-side-encryption configuration. |
serverSideEncryptionConfiguration?
Type:
IResolvable | (IResolvable | Server)[]
(optional)
Specifies the default server-side-encryption configuration.

.NET
Go
Java
Python
TypeScript