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
When making an API call, you may pass ReplicationRule data as a hash:
{
id: "ID",
prefix: "Prefix", # required
status: "Enabled", # required, accepts Enabled, Disabled
source_selection_criteria: {
sse_kms_encrypted_objects: {
status: "Enabled", # required, accepts Enabled, Disabled
},
},
destination: { # required
bucket: "BucketName", # required
account: "AccountId",
storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA
access_control_translation: {
owner: "Destination", # required, accepts Destination
},
encryption_configuration: {
replica_kms_key_id: "ReplicaKmsKeyID",
},
},
}
Container for information about a particular replication rule.
Instance Attribute Summary collapse
-
#destination ⇒ Types::Destination
Container for replication destination information.
-
#id ⇒ String
Unique identifier for the rule.
-
#prefix ⇒ String
Object keyname prefix identifying one or more objects to which the rule applies.
-
#source_selection_criteria ⇒ Types::SourceSelectionCriteria
Container for filters that define which source objects should be replicated.
-
#status ⇒ String
The rule is ignored if status is not Enabled.
Instance Attribute Details
#destination ⇒ Types::Destination
Container for replication destination information.
7304 7305 7306 7307 7308 7309 7310 7311 |
# File 'lib/aws-sdk-s3/types.rb', line 7304 class ReplicationRule < Struct.new( :id, :prefix, :status, :source_selection_criteria, :destination) include Aws::Structure end |
#id ⇒ String
Unique identifier for the rule. The value cannot be longer than 255 characters.
7304 7305 7306 7307 7308 7309 7310 7311 |
# File 'lib/aws-sdk-s3/types.rb', line 7304 class ReplicationRule < Struct.new( :id, :prefix, :status, :source_selection_criteria, :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.
7304 7305 7306 7307 7308 7309 7310 7311 |
# File 'lib/aws-sdk-s3/types.rb', line 7304 class ReplicationRule < Struct.new( :id, :prefix, :status, :source_selection_criteria, :destination) include Aws::Structure end |
#source_selection_criteria ⇒ Types::SourceSelectionCriteria
Container for filters that define which source objects should be replicated.
7304 7305 7306 7307 7308 7309 7310 7311 |
# File 'lib/aws-sdk-s3/types.rb', line 7304 class ReplicationRule < Struct.new( :id, :prefix, :status, :source_selection_criteria, :destination) include Aws::Structure end |
#status ⇒ String
The rule is ignored if status is not Enabled.
7304 7305 7306 7307 7308 7309 7310 7311 |
# File 'lib/aws-sdk-s3/types.rb', line 7304 class ReplicationRule < Struct.new( :id, :prefix, :status, :source_selection_criteria, :destination) include Aws::Structure end |