interface EncryptionProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.S3.CfnStorageLens.EncryptionProperty |
Java | software.amazon.awscdk.services.s3.CfnStorageLens.EncryptionProperty |
Python | aws_cdk.aws_s3.CfnStorageLens.EncryptionProperty |
TypeScript | @aws-cdk/aws-s3 » CfnStorageLens » EncryptionProperty |
This resource contains the type of server-side encryption used to encrypt an Amazon S3 Storage Lens metrics export.
For valid values, see the StorageLensDataExportEncryption in the Amazon S3 API Reference .
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as s3 from '@aws-cdk/aws-s3';
declare const sses3: any;
const encryptionProperty: s3.CfnStorageLens.EncryptionProperty = {
ssekms: {
keyId: 'keyId',
},
sses3: sses3,
};
Properties
Name | Type | Description |
---|---|---|
ssekms? | IResolvable | SSEKMSProperty | Specifies the use of AWS Key Management Service keys (SSE-KMS) to encrypt the S3 Storage Lens metrics export file. |
sses3? | any | Specifies the use of an Amazon S3-managed key (SSE-S3) to encrypt the S3 Storage Lens metrics export file. |
ssekms?
Type:
IResolvable
|
SSEKMSProperty
(optional)
Specifies the use of AWS Key Management Service keys (SSE-KMS) to encrypt the S3 Storage Lens metrics export file.
sses3?
Type:
any
(optional)
Specifies the use of an Amazon S3-managed key (SSE-S3) to encrypt the S3 Storage Lens metrics export file.