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 from a describe operation. Filters can be used to match a set of resources by specific criteria, such as tags, attributes, or IDs. The filters supported by a describe operation are documented with the describe operation. For example:

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>

The filter values. Filter values are case-sensitive.

Returns:

  • (Array<String>)

    The filter values.