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
Prefix
and aTag
filter, wrap these filters in anAnd
element.If you specify a filter based on multiple tags, wrap the
Tag
elements in anAnd
element.
7003 7004 7005 7006 7007 7008 7009 |
# File 'gems/aws-sdk-s3control/lib/aws-sdk-s3control/types.rb', line 7003 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.
7003 7004 7005 7006 7007 7008 7009 |
# File 'gems/aws-sdk-s3control/lib/aws-sdk-s3control/types.rb', line 7003 class ReplicationRuleFilter < Struct.new( :prefix, :tag, :and) SENSITIVE = [] include Aws::Structure end |
#tag ⇒ Types::S3Tag
A container for a key-value name pair.
7003 7004 7005 7006 7007 7008 7009 |
# File 'gems/aws-sdk-s3control/lib/aws-sdk-s3control/types.rb', line 7003 class ReplicationRuleFilter < Struct.new( :prefix, :tag, :and) SENSITIVE = [] include Aws::Structure end |