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

Class: Aws::EC2::Types::Filter

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

Overview

Note:

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

{
  name: "String",
  values: ["String"],
}

A filter name and value pair that is used to return a more specific list of results. Filters can be used to match a set of resources by various criteria, such as tags, attributes, or IDs.

Instance Attribute Summary collapse

Instance Attribute Details

#nameString

The name of the filter. Filter names are case-sensitive.

Returns:

  • (String)

    The name of the filter.

#valuesArray<String>

One or more filter values. Filter values are case-sensitive.

Returns:

  • (Array<String>)

    One or more filter values.