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:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnStorageLens.AccountLevelPropertystatic final classAn implementation forCfnStorageLens.AccountLevelProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectThis property contains the details of account-level activity metrics for S3 Storage Lens.default ObjectThis property contains the details of account-level advanced cost optimization metrics for S3 Storage Lens.default ObjectThis property contains the details of account-level advanced data protection metrics for S3 Storage Lens.This property contains the details of the account-level bucket-level configurations for Amazon S3 Storage Lens.default ObjectThis property contains the details of account-level detailed status code metrics for S3 Storage Lens.default ObjectThis property determines the scope of Storage Lens group data that is displayed in the Storage Lens dashboard.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getBucketLevel
This property contains the details of the account-level bucket-level configurations for Amazon S3 Storage Lens.To enable bucket-level configurations, make sure to also set the same metrics at the account level.
Returns union: either
IResolvableorCfnStorageLens.BucketLevelProperty- See Also:
-
getActivityMetrics
This property contains the details of account-level activity metrics for S3 Storage Lens.Returns union: either
IResolvableorCfnStorageLens.ActivityMetricsProperty- See Also:
-
getAdvancedCostOptimizationMetrics
This property contains the details of account-level advanced cost optimization metrics for S3 Storage Lens.Returns union: either
IResolvableorCfnStorageLens.AdvancedCostOptimizationMetricsProperty- See Also:
-
getAdvancedDataProtectionMetrics
This property contains the details of account-level advanced data protection metrics for S3 Storage Lens.Returns union: either
IResolvableorCfnStorageLens.AdvancedDataProtectionMetricsProperty- See Also:
-
getDetailedStatusCodesMetrics
This property contains the details of account-level detailed status code metrics for S3 Storage Lens.Returns union: either
IResolvableorCfnStorageLens.DetailedStatusCodesMetricsProperty- See Also:
-
getStorageLensGroupLevel
This property determines the scope of Storage Lens group data that is displayed in the Storage Lens dashboard.Returns union: either
IResolvableorCfnStorageLens.StorageLensGroupLevelProperty- See Also:
-
builder
-