interface BucketsAndRegionsProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.S3.CfnStorageLens.BucketsAndRegionsProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awss3#CfnStorageLens_BucketsAndRegionsProperty |
Java | software.amazon.awscdk.services.s3.CfnStorageLens.BucketsAndRegionsProperty |
Python | aws_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
Name | Type | Description |
---|---|---|
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.