Class: Aws::S3Control::Types::ReplicationRuleFilter
- Inherits:
-
Struct
- Object
- Struct
- Aws::S3Control::Types::ReplicationRuleFilter
- Includes:
- Aws::Structure
- Defined in:
- lib/aws-sdk-s3control/types.rb
Overview
A filter that identifies the subset of objects to which the replication rule applies. A ‘Filter` element must specify exactly one `Prefix`, `Tag`, or `And` child element.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#and ⇒ Types::ReplicationRuleAndOperator
A container for specifying rule filters.
-
#prefix ⇒ String
An object key name prefix that identifies the subset of objects that the rule applies to.
-
#tag ⇒ Types::S3Tag
A container for a key-value name pair.
Instance Attribute Details
#and ⇒ Types::ReplicationRuleAndOperator
A container for specifying rule filters. The filters determine the subset of objects that the rule applies to. This element is required only if you specify more than one filter. For example:
-
If you specify both a ‘Prefix` and a `Tag` filter, wrap these filters in an `And` element.
-
If you specify a filter based on multiple tags, wrap the ‘Tag` elements in an `And` element.
6790 6791 6792 6793 6794 6795 6796 |
# File 'lib/aws-sdk-s3control/types.rb', line 6790 class ReplicationRuleFilter < Struct.new( :prefix, :tag, :and) SENSITIVE = [] include Aws::Structure end |
#prefix ⇒ String
An object key name prefix that identifies the subset of objects that the rule applies to.
When you’re using XML requests, you must replace special characters (such as carriage returns) in object keys with their equivalent XML entity codes. For more information, see [ XML-related object key constraints] in the *Amazon S3 User Guide*.
[1]: docs.aws.amazon.com/AmazonS3/latest/userguide/object-keys.html#object-key-xml-related-constraints
6790 6791 6792 6793 6794 6795 6796 |
# File 'lib/aws-sdk-s3control/types.rb', line 6790 class ReplicationRuleFilter < Struct.new( :prefix, :tag, :and) SENSITIVE = [] include Aws::Structure end |
#tag ⇒ Types::S3Tag
A container for a key-value name pair.
6790 6791 6792 6793 6794 6795 6796 |
# File 'lib/aws-sdk-s3control/types.rb', line 6790 class ReplicationRuleFilter < Struct.new( :prefix, :tag, :and) SENSITIVE = [] include Aws::Structure end |