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
show all
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

Instance Attribute Details

#event_thresholdTypes::ReplicationTimeValue

A container specifying the time threshold for emitting the s3:Replication:OperationMissedThreshold event.

Returns:

  • (Types::ReplicationTimeValue)

    A container specifying the time threshold for emitting the s3:Replication:OperationMissedThreshold event.

#statusString

Specifies whether the replication metrics are enabled.

Possible values:

  • Enabled
  • Disabled

Returns:

  • (String)

    Specifies whether the replication metrics are enabled.