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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-resourcegroups/lib/aws-sdk-resourcegroups/types.rb

Overview

Note:

When making an API call, you may pass ResourceFilter data as a 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.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#nameString

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

Returns:

  • (String)


952
953
954
955
956
957
# File 'gems/aws-sdk-resourcegroups/lib/aws-sdk-resourcegroups/types.rb', line 952

class ResourceFilter < Struct.new(
  :name,
  :values)
  SENSITIVE = []
  include Aws::Structure
end

#valuesArray<String>

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

Returns:

  • (Array<String>)


952
953
954
955
956
957
# File 'gems/aws-sdk-resourcegroups/lib/aws-sdk-resourcegroups/types.rb', line 952

class ResourceFilter < Struct.new(
  :name,
  :values)
  SENSITIVE = []
  include Aws::Structure
end