aws-cdk-lib.aws_s3.CfnStorageLens.DataExportProperty

interface DataExportProperty

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

This resource contains the details of the Amazon S3 Storage Lens metrics export.

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 dataExportProperty: s3.CfnStorageLens.DataExportProperty = {
  cloudWatchMetrics: {
    isEnabled: false,
  },
  s3BucketDestination: {
    accountId: 'accountId',
    arn: 'arn',
    format: 'format',
    outputSchemaVersion: 'outputSchemaVersion',

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

Properties

NameTypeDescription
cloudWatchMetrics?IResolvable | CloudWatchMetricsPropertyThis property enables the Amazon CloudWatch publishing option for S3 Storage Lens metrics.
s3BucketDestination?IResolvable | S3BucketDestinationPropertyThis property contains the details of the bucket where the S3 Storage Lens metrics export will be placed.

cloudWatchMetrics?

Type: IResolvable | CloudWatchMetricsProperty (optional)

This property enables the Amazon CloudWatch publishing option for S3 Storage Lens metrics.


s3BucketDestination?

Type: IResolvable | S3BucketDestinationProperty (optional)

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