Class: Aws::S3::Types::ReplicationRule
- Inherits:
-
Struct
- Object
- Struct
- Aws::S3::Types::ReplicationRule
- Includes:
- Aws::Structure
- Defined in:
- lib/aws-sdk-s3/types.rb
Overview
Note:
When making an API call, you may pass ReplicationRule data as a 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
- #destination ⇒ Types::Destination
-
#id ⇒ String
Unique identifier for the rule.
-
#prefix ⇒ String
Object keyname prefix identifying one or more objects to which the rule applies.
-
#status ⇒ String
The rule is ignored if status is not Enabled.
Instance Attribute Details
#destination ⇒ Types::Destination
6760 6761 6762 6763 6764 6765 6766 |
# File 'lib/aws-sdk-s3/types.rb', line 6760 class ReplicationRule < Struct.new( :id, :prefix, :status, :destination) include Aws::Structure end |
#id ⇒ String
Unique identifier for the rule. The value cannot be longer than 255 characters.
6760 6761 6762 6763 6764 6765 6766 |
# File 'lib/aws-sdk-s3/types.rb', line 6760 class ReplicationRule < Struct.new( :id, :prefix, :status, :destination) include Aws::Structure end |
#prefix ⇒ String
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.
6760 6761 6762 6763 6764 6765 6766 |
# File 'lib/aws-sdk-s3/types.rb', line 6760 class ReplicationRule < Struct.new( :id, :prefix, :status, :destination) include Aws::Structure end |
#status ⇒ String
The rule is ignored if status is not Enabled.
6760 6761 6762 6763 6764 6765 6766 |
# File 'lib/aws-sdk-s3/types.rb', line 6760 class ReplicationRule < Struct.new( :id, :prefix, :status, :destination) include Aws::Structure end |