You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::S3::Types::FilterRule

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-s3/lib/aws-sdk-s3/types.rb

Overview

Note:

When making an API call, you may pass FilterRule data as a hash:

{
  name: "prefix", # accepts prefix, suffix
  value: "FilterRuleValue",
}

Container for key value pair that defines the criteria for the filter rule.

Instance Attribute Summary collapse

Instance Attribute Details

#nameString

Object key name prefix or suffix identifying one or more objects to which the filtering rule applies. Maximum prefix length can be up to 1,024 characters. Overlapping prefixes and suffixes are not supported. For more information, go to Configuring Event Notifications in the Amazon Simple Storage Service Developer Guide.

Returns:

  • (String)


2183
2184
2185
2186
2187
# File 'gems/aws-sdk-s3/lib/aws-sdk-s3/types.rb', line 2183

class FilterRule < Struct.new(
  :name,
  :value)
  include Aws::Structure
end

#valueString

Returns:

  • (String)


2183
2184
2185
2186
2187
# File 'gems/aws-sdk-s3/lib/aws-sdk-s3/types.rb', line 2183

class FilterRule < Struct.new(
  :name,
  :value)
  include Aws::Structure
end