Interface CfnBucketPropsMixin.MetricsProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnBucketPropsMixin.MetricsProperty.Jsii$Proxy
- Enclosing class:
CfnBucketPropsMixin
@Stability(Stable)
public static interface CfnBucketPropsMixin.MetricsProperty
extends software.amazon.jsii.JsiiSerializable
A container specifying replication metrics-related settings enabling replication metrics and events.
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.*;
MetricsProperty metricsProperty = MetricsProperty.builder()
.eventThreshold(ReplicationTimeValueProperty.builder()
.minutes(123)
.build())
.status("status")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnBucketPropsMixin.MetricsPropertystatic final classAn implementation forCfnBucketPropsMixin.MetricsProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getEventThreshold
A container specifying the time threshold for emitting thes3:Replication:OperationMissedThresholdevent.Returns union: either
IResolvableorCfnBucketPropsMixin.ReplicationTimeValueProperty- See Also:
-
getStatus
Specifies whether the replication metrics are enabled.- See Also:
-
builder
-