Class: Aws::RAM::Types::TagFilter

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

Overview

Note:

When making an API call, you may pass TagFilter data as a hash:

{
  tag_key: "TagKey",
  tag_values: ["TagValue"],
}

A tag key and optional list of possible values that you can use to filter results for tagged resources.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#tag_keyString

The tag key. This must have a valid string value and can't be empty.

Returns:

  • (String)


2733
2734
2735
2736
2737
2738
# File 'gems/aws-sdk-ram/lib/aws-sdk-ram/types.rb', line 2733

class TagFilter < Struct.new(
  :tag_key,
  :tag_values)
  SENSITIVE = []
  include Aws::Structure
end

#tag_valuesArray<String>

A list of zero or more tag values. If no values are provided, then the filter matches any tag with the specified key, regardless of its value.

Returns:

  • (Array<String>)


2733
2734
2735
2736
2737
2738
# File 'gems/aws-sdk-ram/lib/aws-sdk-ram/types.rb', line 2733

class TagFilter < Struct.new(
  :tag_key,
  :tag_values)
  SENSITIVE = []
  include Aws::Structure
end