You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::S3::Types::FilterRule
- Inherits:
-
Struct
- Object
- Struct
- Aws::S3::Types::FilterRule
- Defined in:
- (unknown)
Overview
When passing FilterRule as input to an Aws::Client method, you can use a vanilla Hash:
{
name: "prefix", # accepts prefix, suffix
value: "FilterRuleValue",
}
Specifies the Amazon S3 object key name to filter on and whether to filter on the suffix or prefix of the key name.
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
The value that the filter searches for in object key names.
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 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.
#value ⇒ String
The value that the filter searches for in object key names.