aws-cdk-lib.aws_s3.CfnStorageLens.EncryptionProperty

interface EncryptionProperty

LanguageType name
.NETAmazon.CDK.AWS.S3.CfnStorageLens.EncryptionProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awss3#CfnStorageLens_EncryptionProperty
Javasoftware.amazon.awscdk.services.s3.CfnStorageLens.EncryptionProperty
Pythonaws_cdk.aws_s3.CfnStorageLens.EncryptionProperty
TypeScript aws-cdk-lib » 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 { aws_s3 as s3 } from 'aws-cdk-lib';

declare const sses3: any;
const encryptionProperty: s3.CfnStorageLens.EncryptionProperty = {
  ssekms: {
    keyId: 'keyId',
  },
  sses3: sses3,
};

Properties

NameTypeDescription
ssekms?IResolvable | SSEKMSPropertySpecifies the use of AWS Key Management Service keys (SSE-KMS) to encrypt the S3 Storage Lens metrics export file.
sses3?anySpecifies 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.