interface PrefixLevelStorageMetricsProperty
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.S3.CfnStorageLens.PrefixLevelStorageMetricsProperty |
![]() | software.amazon.awscdk.services.s3.CfnStorageLens.PrefixLevelStorageMetricsProperty |
![]() | aws_cdk.aws_s3.CfnStorageLens.PrefixLevelStorageMetricsProperty |
![]() | @aws-cdk/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 * as s3 from '@aws-cdk/aws-s3';
const prefixLevelStorageMetricsProperty: s3.CfnStorageLens.PrefixLevelStorageMetricsProperty = {
isEnabled: false,
selectionCriteria: {
delimiter: 'delimiter',
maxDepth: 123,
minStorageBytesPercentage: 123,
},
};
Properties
Name | Type | Description |
---|---|---|
is | boolean | IResolvable | This property identifies whether the details of the prefix-level storage metrics for S3 Storage Lens are enabled. |
selection | IResolvable | Selection | This 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
|
Selection
(optional)
This property identifies whether the details of the prefix-level storage metrics for S3 Storage Lens are enabled.