Class: Aws::S3::Types::FilterRule
- Inherits:
-
Struct
- Object
- Struct
- Aws::S3::Types::FilterRule
- Includes:
- Aws::Structure
- Defined in:
- 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",
}
A container for a key value pair that defines the criteria for the filter rule.
Instance Attribute Summary collapse
-
#name ⇒ String
The object key name prefix or suffix identifying one or more objects to which the filtering rule applies.
- #value ⇒ String
Instance Attribute Details
#name ⇒ String
The object key name prefix or suffix identifying one or more objects to which the filtering rule applies. The maximum prefix length is 1,024 characters. Overlapping prefixes and suffixes are not supported. For more information, see [Configuring Event Notifications] in the *Amazon Simple Storage Service Developer Guide*.
[1]: docs.aws.amazon.com/AmazonS3/latest/dev/NotificationHowTo.html
2375 2376 2377 2378 2379 |
# File 'lib/aws-sdk-s3/types.rb', line 2375 class FilterRule < Struct.new( :name, :value) include Aws::Structure end |
#value ⇒ String
2375 2376 2377 2378 2379 |
# File 'lib/aws-sdk-s3/types.rb', line 2375 class FilterRule < Struct.new( :name, :value) include Aws::Structure end |