aws-cdk-lib.aws_s3.CfnStorageLens.S3BucketDestinationProperty

interface S3BucketDestinationProperty

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

This resource contains the details of the bucket where the Amazon S3 Storage Lens metrics export will be placed.

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 s3BucketDestinationProperty: s3.CfnStorageLens.S3BucketDestinationProperty = {
  accountId: 'accountId',
  arn: 'arn',
  format: 'format',
  outputSchemaVersion: 'outputSchemaVersion',

  // the properties below are optional
  encryption: {
    ssekms: {
      keyId: 'keyId',
    },
    sses3: sses3,
  },
  prefix: 'prefix',
};

Properties

NameTypeDescription
accountIdstringThis property contains the details of the AWS account ID of the S3 Storage Lens export bucket destination.
arnstringThis property contains the details of the ARN of the bucket destination of the S3 Storage Lens export.
formatstringThis property contains the details of the format of the S3 Storage Lens export bucket destination.
outputSchemaVersionstringThis property contains the details of the output schema version of the S3 Storage Lens export bucket destination.
encryption?IResolvable | EncryptionPropertyThis property contains the details of the encryption of the bucket destination of the Amazon S3 Storage Lens metrics export.
prefix?stringThis property contains the details of the prefix of the bucket destination of the S3 Storage Lens export .

accountId

Type: string

This property contains the details of the AWS account ID of the S3 Storage Lens export bucket destination.


arn

Type: string

This property contains the details of the ARN of the bucket destination of the S3 Storage Lens export.


format

Type: string

This property contains the details of the format of the S3 Storage Lens export bucket destination.


outputSchemaVersion

Type: string

This property contains the details of the output schema version of the S3 Storage Lens export bucket destination.


encryption?

Type: IResolvable | EncryptionProperty (optional)

This property contains the details of the encryption of the bucket destination of the Amazon S3 Storage Lens metrics export.


prefix?

Type: string (optional)

This property contains the details of the prefix of the bucket destination of the S3 Storage Lens export .