MetricsProperty Struct
A container specifying replication metrics-related settings enabling replication metrics and events.
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_s3 as s3 } from 'aws-cdk-lib';
const metricsProperty: s3.CfnBucket.MetricsProperty = {
status: 'status',
// the properties below are optional
eventThreshold: {
minutes: 123,
},
};
Properties
eventThresholdoptionalIResolvable | CfnBucket.ReplicationTimeValuePropertyevent_thresholdoptionaltyping.Union[IResolvable, ReplicationTimeValueProperty]eventThresholdoptionalIResolvableEventThresholdoptionalIResolvableEventThresholdoptionalinterface{}#A container specifying the time threshold for emitting the `s3:Replication:OperationMissedThreshold` event.
Specifies whether the replication metrics are enabled.