You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::S3::Types::Metrics
- Inherits:
-
Struct
- Object
- Struct
- Aws::S3::Types::Metrics
- Defined in:
- (unknown)
Overview
Note:
When passing Metrics as input to an Aws::Client method, you can use a vanilla Hash:
{
status: "Enabled", # required, accepts Enabled, Disabled
event_threshold: {
minutes: 1,
},
}
A container specifying replication metrics-related settings enabling replication metrics and events.
Returned by:
Instance Attribute Summary collapse
-
#event_threshold ⇒ Types::ReplicationTimeValue
A container specifying the time threshold for emitting the
s3:Replication:OperationMissedThreshold
event. -
#status ⇒ String
Specifies whether the replication metrics are enabled.
Instance Attribute Details
#event_threshold ⇒ Types::ReplicationTimeValue
A container specifying the time threshold for emitting the
s3:Replication:OperationMissedThreshold
event.
#status ⇒ String
Specifies whether the replication metrics are enabled.
Possible values:
- Enabled
- Disabled