Class: Aws::ResourceGroupsTaggingAPI::Types::TagFilter

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

Overview

Note:

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

{
  key: "TagKey",
  values: ["TagValue"],
}

A list of tags (keys and values) that are used to specify the associated resources.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#keyString

One part of a key-value pair that makes up a tag. A key is a general label that acts like a category for more specific tag values.

Returns:

  • (String)


781
782
783
784
785
786
# File 'gems/aws-sdk-resourcegroupstaggingapi/lib/aws-sdk-resourcegroupstaggingapi/types.rb', line 781

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

#valuesArray<String>

One part of a key-value pair that make up a tag. A value acts as a descriptor within a tag category (key). The value can be empty or null.

Returns:

  • (Array<String>)


781
782
783
784
785
786
# File 'gems/aws-sdk-resourcegroupstaggingapi/lib/aws-sdk-resourcegroupstaggingapi/types.rb', line 781

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