aws-cdk-lib.aws_s3.CfnStorageLens.PrefixLevelStorageMetricsProperty

interface PrefixLevelStorageMetricsProperty

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

This resource contains the details of the prefix-level storage metrics for Amazon S3 Storage Lens.

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 prefixLevelStorageMetricsProperty: s3.CfnStorageLens.PrefixLevelStorageMetricsProperty = {
  isEnabled: false,
  selectionCriteria: {
    delimiter: 'delimiter',
    maxDepth: 123,
    minStorageBytesPercentage: 123,
  },
};

Properties

NameTypeDescription
isEnabled?boolean | IResolvableThis property identifies whether the details of the prefix-level storage metrics for S3 Storage Lens are enabled.
selectionCriteria?IResolvable | SelectionCriteriaPropertyThis property identifies whether the details of the prefix-level storage metrics for S3 Storage Lens are enabled.

isEnabled?

Type: boolean | IResolvable (optional)

This property identifies whether the details of the prefix-level storage metrics for S3 Storage Lens are enabled.


selectionCriteria?

Type: IResolvable | SelectionCriteriaProperty (optional)

This property identifies whether the details of the prefix-level storage metrics for S3 Storage Lens are enabled.