@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:41.794Z") @Stability(value=Stable) public interface CfnStorageLensProps 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;
CfnStorageLensProps cfnStorageLensProps = CfnStorageLensProps.builder()
.storageLensConfiguration(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())
// the properties below are optional
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnStorageLensProps.Builder
A builder for
CfnStorageLensProps |
static class |
CfnStorageLensProps.Jsii$Proxy
An implementation for
CfnStorageLensProps |
| Modifier and Type | Method and Description |
|---|---|
static CfnStorageLensProps.Builder |
builder() |
Object |
getStorageLensConfiguration()
This resource contains the details Amazon S3 Storage Lens configuration.
|
default List<CfnTag> |
getTags()
A set of tags (key–value pairs) to associate with the Storage Lens configuration.
|
@Stability(value=Stable) @NotNull Object getStorageLensConfiguration()
@Stability(value=Stable) @Nullable default List<CfnTag> getTags()
@Stability(value=Stable) static CfnStorageLensProps.Builder builder()
CfnStorageLensProps.Builder of CfnStorageLensPropsCopyright © 2022. All rights reserved.