aws-cdk-lib.aws_s3.CfnStorageLens.BucketsAndRegionsProperty

interface BucketsAndRegionsProperty

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

This resource contains the details of the buckets and Regions for the Amazon S3 Storage Lens configuration.

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 bucketsAndRegionsProperty: s3.CfnStorageLens.BucketsAndRegionsProperty = {
  buckets: ['buckets'],
  regions: ['regions'],
};

Properties

NameTypeDescription
buckets?string[]This property contains the details of the buckets for the Amazon S3 Storage Lens configuration.
regions?string[]This property contains the details of the Regions for the S3 Storage Lens configuration.

buckets?

Type: string[] (optional)

This property contains the details of the buckets for the Amazon S3 Storage Lens configuration.

This should be the bucket Amazon Resource Name(ARN). For valid values, see Buckets ARN format here in the Amazon S3 API Reference .


regions?

Type: string[] (optional)

This property contains the details of the Regions for the S3 Storage Lens configuration.