Class: Aws::S3Control::Types::ReplicationRuleFilter

Inherits:
Struct
  • Object
show all
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

Instance Attribute Details

#andTypes::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.



6613
6614
6615
6616
6617
6618
6619
# File 'gems/aws-sdk-s3control/lib/aws-sdk-s3control/types.rb', line 6613

class ReplicationRuleFilter < Struct.new(
  :prefix,
  :tag,
  :and)
  SENSITIVE = []
  include Aws::Structure
end

#prefixString

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.

Returns:

  • (String)


6613
6614
6615
6616
6617
6618
6619
# File 'gems/aws-sdk-s3control/lib/aws-sdk-s3control/types.rb', line 6613

class ReplicationRuleFilter < Struct.new(
  :prefix,
  :tag,
  :and)
  SENSITIVE = []
  include Aws::Structure
end

#tagTypes::S3Tag

A container for a key-value name pair.

Returns:



6613
6614
6615
6616
6617
6618
6619
# File 'gems/aws-sdk-s3control/lib/aws-sdk-s3control/types.rb', line 6613

class ReplicationRuleFilter < Struct.new(
  :prefix,
  :tag,
  :and)
  SENSITIVE = []
  include Aws::Structure
end