AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

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

Class: Aws::ResourceGroups::Types::ResourceFilter

  • Object
show all
Defined in:



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

  name: "resource-type", # required, accepts resource-type
  values: ["ResourceFilterValue"], # required

A filter name and value pair that is used to obtain more specific results from a list of resources.

Instance Attribute Summary collapse

Instance Attribute Details


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

Possible values:

  • resource-type


  • (String)

    The name of the filter.


One or more filter values. Allowed filter values vary by resource filter name, and are case-sensitive.


  • (Array<String>)

    One or more filter values.