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

Class: Aws::S3::Types::ReplicationRule

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

Overview

Note:

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

{
  id: "ID",
  prefix: "Prefix", # required
  status: "Enabled", # required, accepts Enabled, Disabled
  destination: { # required
    bucket: "BucketName", # required
    storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA
  },
}

Instance Attribute Summary collapse

Instance Attribute Details

#destinationTypes::Destination

Returns:

#idString

Unique identifier for the rule. The value cannot be longer than 255 characters.

Returns:

  • (String)

    Unique identifier for the rule.

#prefixString

Object keyname prefix identifying one or more objects to which the rule applies. Maximum prefix length can be up to 1,024 characters. Overlapping prefixes are not supported.

Returns:

  • (String)

    Object keyname prefix identifying one or more objects to which the rule applies.

#statusString

The rule is ignored if status is not Enabled.

Possible values:

  • Enabled
  • Disabled

Returns:

  • (String)

    The rule is ignored if status is not Enabled.