@Stability(value=Stable)
public static interface CfnStorageLens.StorageLensConfigurationProperty
extends software.amazon.jsii.JsiiSerializable
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 encryption;
StorageLensConfigurationProperty storageLensConfigurationProperty = StorageLensConfigurationProperty.builder()
.accountLevel(AccountLevelProperty.builder()
.bucketLevel(BucketLevelProperty.builder()
.activityMetrics(ActivityMetricsProperty.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())
.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(encryption)
.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();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnStorageLens.StorageLensConfigurationProperty.Builder
A builder for
CfnStorageLens.StorageLensConfigurationProperty |
static class |
CfnStorageLens.StorageLensConfigurationProperty.Jsii$Proxy
An implementation for
CfnStorageLens.StorageLensConfigurationProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnStorageLens.StorageLensConfigurationProperty.Builder |
builder() |
Object |
getAccountLevel()
This property contains the details of the account-level metrics for Amazon S3 Storage Lens configuration.
|
default Object |
getAwsOrg()
This property contains the details of the AWS Organization for the S3 Storage Lens configuration.
|
default Object |
getDataExport()
This property contains the details of this S3 Storage Lens configuration's metrics export.
|
default Object |
getExclude()
This property contains the details of the bucket and or Regions excluded for Amazon S3 Storage Lens configuration.
|
String |
getId()
This property contains the details of the ID of the S3 Storage Lens configuration.
|
default Object |
getInclude()
This property contains the details of the bucket and or Regions included for Amazon S3 Storage Lens configuration.
|
Object |
getIsEnabled()
This property contains the details of whether the Amazon S3 Storage Lens configuration is enabled.
|
default String |
getStorageLensArn()
This property contains the details of the ARN of the S3 Storage Lens configuration.
|
@Stability(value=Stable) @NotNull Object getAccountLevel()
@Stability(value=Stable) @NotNull String getId()
@Stability(value=Stable) @NotNull Object getIsEnabled()
@Stability(value=Stable) @Nullable default Object getAwsOrg()
@Stability(value=Stable) @Nullable default Object getDataExport()
@Stability(value=Stable) @Nullable default Object getExclude()
@Stability(value=Stable) @Nullable default Object getInclude()
@Stability(value=Stable) @Nullable default String getStorageLensArn()
This property is read-only.
@Stability(value=Stable) static CfnStorageLens.StorageLensConfigurationProperty.Builder builder()
Copyright © 2022. All rights reserved.