You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::S3::Types::ReplicationTime

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing ReplicationTime as input to an Aws::Client method, you can use a vanilla Hash:

{
  status: "Enabled", # required, accepts Enabled, Disabled
  time: { # required
    minutes: 1,
  },
}

A container specifying S3 Replication Time Control (S3 RTC) related information, including whether S3 RTC is enabled and the time when all objects and operations on objects must be replicated. Must be specified together with a Metrics block.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#statusString

Specifies whether the replication time is enabled.

Possible values:

  • Enabled
  • Disabled

Returns:

  • (String)

    Specifies whether the replication time is enabled.

#timeTypes::ReplicationTimeValue

A container specifying the time by which replication should be complete for all objects and operations on objects.

Returns:

  • (Types::ReplicationTimeValue)

    A container specifying the time by which replication should be complete for all objects and operations on objects.