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

  • Object
show all
Defined in:



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


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


  • (String)

    The name of the filter.


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


  • (Array<String>)

    One or more filter values.