@Stability(value=Stable)
public static interface CfnStorageLens.CloudWatchMetricsProperty
extends software.amazon.jsii.JsiiSerializable
For more information, see Monitor S3 Storage Lens metrics in CloudWatch in the Amazon S3 User Guide .
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.*;
CloudWatchMetricsProperty cloudWatchMetricsProperty = CloudWatchMetricsProperty.builder()
.isEnabled(false)
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnStorageLens.CloudWatchMetricsProperty.Builder
A builder for
CfnStorageLens.CloudWatchMetricsProperty |
static class |
CfnStorageLens.CloudWatchMetricsProperty.Jsii$Proxy
An implementation for
CfnStorageLens.CloudWatchMetricsProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnStorageLens.CloudWatchMetricsProperty.Builder |
builder() |
Object |
getIsEnabled()
This property identifies whether the CloudWatch publishing option for S3 Storage Lens is enabled.
|
@Stability(value=Stable) @NotNull Object getIsEnabled()
@Stability(value=Stable) static CfnStorageLens.CloudWatchMetricsProperty.Builder builder()
Copyright © 2022. All rights reserved.