Class: Aws::S3Control::Types::ReplicationRuleFilter
- Inherits:
-
Struct
- Object
- Struct
- Aws::S3Control::Types::ReplicationRuleFilter
- Defined in:
- gems/aws-sdk-s3control/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
Prefixand aTagfilter, wrap these filters in anAndelement.If you specify a filter based on multiple tags, wrap the
Tagelements in anAndelement.
7167 7168 7169 7170 7171 7172 7173 |
# File 'gems/aws-sdk-s3control/lib/aws-sdk-s3control/types.rb', line 7167 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.
7167 7168 7169 7170 7171 7172 7173 |
# File 'gems/aws-sdk-s3control/lib/aws-sdk-s3control/types.rb', line 7167 class ReplicationRuleFilter < Struct.new( :prefix, :tag, :and) SENSITIVE = [] include Aws::Structure end |
#tag ⇒ Types::S3Tag
A container for a key-value name pair.
7167 7168 7169 7170 7171 7172 7173 |
# File 'gems/aws-sdk-s3control/lib/aws-sdk-s3control/types.rb', line 7167 class ReplicationRuleFilter < Struct.new( :prefix, :tag, :and) SENSITIVE = [] include Aws::Structure end |