Interface CfnStorageLens.AccountLevelProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnStorageLens.AccountLevelProperty.Jsii$Proxy
Enclosing class:
CfnStorageLens

@Stability(Stable) public static interface CfnStorageLens.AccountLevelProperty extends software.amazon.jsii.JsiiSerializable
This resource contains the details of the account-level 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 software.amazon.awscdk.services.s3.*;
 AccountLevelProperty accountLevelProperty = AccountLevelProperty.builder()
         .bucketLevel(BucketLevelProperty.builder()
                 .activityMetrics(ActivityMetricsProperty.builder()
                         .isEnabled(false)
                         .build())
                 .advancedCostOptimizationMetrics(AdvancedCostOptimizationMetricsProperty.builder()
                         .isEnabled(false)
                         .build())
                 .advancedDataProtectionMetrics(AdvancedDataProtectionMetricsProperty.builder()
                         .isEnabled(false)
                         .build())
                 .detailedStatusCodesMetrics(DetailedStatusCodesMetricsProperty.builder()
                         .isEnabled(false)
                         .build())
                 .prefixLevel(PrefixLevelProperty.builder()
                         .storageMetrics(PrefixLevelStorageMetricsProperty.builder()
                                 .isEnabled(false)
                                 .selectionCriteria(SelectionCriteriaProperty.builder()
                                         .delimiter("delimiter")
                                         .maxDepth(123)
                                         .minStorageBytesPercentage(123)
                                         .build())
                                 .build())
                         .build())
                 .build())
         // the properties below are optional
         .activityMetrics(ActivityMetricsProperty.builder()
                 .isEnabled(false)
                 .build())
         .advancedCostOptimizationMetrics(AdvancedCostOptimizationMetricsProperty.builder()
                 .isEnabled(false)
                 .build())
         .advancedDataProtectionMetrics(AdvancedDataProtectionMetricsProperty.builder()
                 .isEnabled(false)
                 .build())
         .detailedStatusCodesMetrics(DetailedStatusCodesMetricsProperty.builder()
                 .isEnabled(false)
                 .build())
         .storageLensGroupLevel(StorageLensGroupLevelProperty.builder()
                 .storageLensGroupSelectionCriteria(StorageLensGroupSelectionCriteriaProperty.builder()
                         .exclude(List.of("exclude"))
                         .include(List.of("include"))
                         .build())
                 .build())
         .build();
 

See Also: