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

Class: Aws::S3::Types::S3KeyFilter

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing S3KeyFilter as input to an Aws::Client method, you can use a vanilla Hash:

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

A container for object key name prefix and suffix filtering rules.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#filter_rulesArray<Types::FilterRule>

A list of containers for the key-value pair that defines the criteria for the filter rule.

Returns:

  • (Array<Types::FilterRule>)

    A list of containers for the key-value pair that defines the criteria for the filter rule.

    .