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
show all
Defined in:
(unknown)

Overview

Note:

When passing FilterRule as input to an Aws::Client method, you can use a vanilla 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)

    Object key name prefix or suffix identifying one or more objects to which the filtering rule applies.

#valueString

Returns:

  • (String)