interface BucketEncryptionProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.aws_s3express.CfnDirectoryBucket.BucketEncryptionProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awss3express#CfnDirectoryBucket_BucketEncryptionProperty |
Java | software.amazon.awscdk.services.s3express.CfnDirectoryBucket.BucketEncryptionProperty |
Python | aws_cdk.aws_s3express.CfnDirectoryBucket.BucketEncryptionProperty |
TypeScript | aws-cdk-lib » aws_s3express » CfnDirectoryBucket » 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-lib';
const bucketEncryptionProperty: s3express.CfnDirectoryBucket.BucketEncryptionProperty = {
serverSideEncryptionConfiguration: [{
bucketKeyEnabled: false,
serverSideEncryptionByDefault: {
sseAlgorithm: 'sseAlgorithm',
// the properties below are optional
kmsMasterKeyId: 'kmsMasterKeyId',
},
}],
};
Properties
Name | Type | Description |
---|---|---|
server | IResolvable | IResolvable | Server [] | Specifies the default server-side-encryption configuration. |
serverSideEncryptionConfiguration
Type:
IResolvable
|
IResolvable
|
Server
[]
Specifies the default server-side-encryption configuration.