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: