Interface CfnBucket.MetricsProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnBucket.MetricsProperty.Jsii$Proxy
- Enclosing class:
CfnBucket
@Stability(Stable)
public static interface CfnBucket.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.services.s3.*; MetricsProperty metricsProperty = MetricsProperty.builder() .status("status") // the properties below are optional .eventThreshold(ReplicationTimeValueProperty.builder() .minutes(123) .build()) .build();
- See Also:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnBucket.MetricsProperty
static final class
An implementation forCfnBucket.MetricsProperty
-
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getStatus
Specifies whether the replication metrics are enabled.- See Also:
-
getEventThreshold
A container specifying the time threshold for emitting thes3:Replication:OperationMissedThreshold
event.- See Also:
-
builder
- Returns:
- a
CfnBucket.MetricsProperty.Builder
ofCfnBucket.MetricsProperty
-