Interface CfnStorageLensPropsMixin.DetailedStatusCodesMetricsProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnStorageLensPropsMixin.DetailedStatusCodesMetricsProperty.Jsii$Proxy
- Enclosing class:
CfnStorageLensPropsMixin
@Stability(Stable)
public static interface CfnStorageLensPropsMixin.DetailedStatusCodesMetricsProperty
extends software.amazon.jsii.JsiiSerializable
This resource enables Amazon S3 Storage Lens detailed status code metrics.
Detailed status code metrics generate metrics for HTTP status codes, such as 200 OK , 403 Forbidden , 503 Service Unavailable and others.
For more information, see Assessing your storage activity and usage with S3 Storage Lens in the Amazon S3 User Guide . For a complete list of metrics, see S3 Storage Lens metrics glossary 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.cfnpropertymixins.services.s3.*;
DetailedStatusCodesMetricsProperty detailedStatusCodesMetricsProperty = DetailedStatusCodesMetricsProperty.builder()
.isEnabled(false)
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classstatic final classAn implementation forCfnStorageLensPropsMixin.DetailedStatusCodesMetricsProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getIsEnabled
Indicates whether detailed status code metrics are enabled.Returns union: either
BooleanorIResolvable- See Also:
-
builder
@Stability(Stable) static CfnStorageLensPropsMixin.DetailedStatusCodesMetricsProperty.Builder builder()
-