aws-cdk-lib.aws_s3.CfnStorageLens.SSEKMSProperty

interface SSEKMSProperty

LanguageType name
.NETAmazon.CDK.AWS.S3.CfnStorageLens.SSEKMSProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awss3#CfnStorageLens_SSEKMSProperty
Javasoftware.amazon.awscdk.services.s3.CfnStorageLens.SSEKMSProperty
Pythonaws_cdk.aws_s3.CfnStorageLens.SSEKMSProperty
TypeScript aws-cdk-lib » aws_s3 » CfnStorageLens » SSEKMSProperty

Specifies the use of server-side encryption using an AWS Key Management Service key (SSE-KMS) to encrypt the delivered S3 Storage Lens metrics export file.

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';
const sSEKMSProperty: s3.CfnStorageLens.SSEKMSProperty = {
  keyId: 'keyId',
};

Properties

NameTypeDescription
keyIdstringSpecifies the Amazon Resource Name (ARN) of the customer managed AWS KMS key to use for encrypting the S3 Storage Lens metrics export file.

keyId

Type: string

Specifies the Amazon Resource Name (ARN) of the customer managed AWS KMS key to use for encrypting the S3 Storage Lens metrics export file.

Amazon S3 only supports symmetric encryption keys. For more information, see Special-purpose keys in the AWS Key Management Service Developer Guide .