Interface CfnStorageLens.StorageLensConfigurationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnStorageLens.StorageLensConfigurationProperty.Jsii$Proxy
- Enclosing class:
CfnStorageLens
@Stability(Stable)
public static interface CfnStorageLens.StorageLensConfigurationProperty
extends software.amazon.jsii.JsiiSerializable
This is the property of 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 software.amazon.awscdk.services.s3.*; Object sses3; StorageLensConfigurationProperty storageLensConfigurationProperty = StorageLensConfigurationProperty.builder() .accountLevel(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()) .id("id") .isEnabled(false) // the properties below are optional .awsOrg(AwsOrgProperty.builder() .arn("arn") .build()) .dataExport(DataExportProperty.builder() .cloudWatchMetrics(CloudWatchMetricsProperty.builder() .isEnabled(false) .build()) .s3BucketDestination(S3BucketDestinationProperty.builder() .accountId("accountId") .arn("arn") .format("format") .outputSchemaVersion("outputSchemaVersion") // the properties below are optional .encryption(EncryptionProperty.builder() .ssekms(SSEKMSProperty.builder() .keyId("keyId") .build()) .sses3(sses3) .build()) .prefix("prefix") .build()) .build()) .exclude(BucketsAndRegionsProperty.builder() .buckets(List.of("buckets")) .regions(List.of("regions")) .build()) .include(BucketsAndRegionsProperty.builder() .buckets(List.of("buckets")) .regions(List.of("regions")) .build()) .storageLensArn("storageLensArn") .build();
- See Also:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnStorageLens.StorageLensConfigurationProperty
static final class
An implementation forCfnStorageLens.StorageLensConfigurationProperty
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
This property contains the details of the account-level metrics for Amazon S3 Storage Lens configuration.default Object
This property contains the details of the AWS Organization for the S3 Storage Lens configuration.default Object
This property contains the details of this S3 Storage Lens configuration's metrics export.default Object
This property contains the details of the bucket and or Regions excluded for Amazon S3 Storage Lens configuration.getId()
This property contains the details of the ID of the S3 Storage Lens configuration.default Object
This property contains the details of the bucket and or Regions included for Amazon S3 Storage Lens configuration.This property contains the details of whether the Amazon S3 Storage Lens configuration is enabled.default String
This property contains the details of the ARN of the S3 Storage Lens configuration.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAccountLevel
This property contains the details of the account-level metrics for Amazon S3 Storage Lens configuration.- See Also:
-
getId
This property contains the details of the ID of the S3 Storage Lens configuration.- See Also:
-
getIsEnabled
This property contains the details of whether the Amazon S3 Storage Lens configuration is enabled.- See Also:
-
getAwsOrg
This property contains the details of the AWS Organization for the S3 Storage Lens configuration.- See Also:
-
getDataExport
This property contains the details of this S3 Storage Lens configuration's metrics export.- See Also:
-
getExclude
This property contains the details of the bucket and or Regions excluded for Amazon S3 Storage Lens configuration.- See Also:
-
getInclude
This property contains the details of the bucket and or Regions included for Amazon S3 Storage Lens configuration.- See Also:
-
getStorageLensArn
This property contains the details of the ARN of the S3 Storage Lens configuration.This property is read-only.
- See Also:
-
builder
-