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

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

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

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

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

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

Instance Attribute Summary collapse

Instance Attribute Details

#keyString

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

Returns:

  • (String)

    One part of a key-value pair that make up a tag.

#valuesArray<String>

The optional part of a key-value pair that make up a tag. A value acts as a descriptor within a tag category (key).

Returns:

  • (Array<String>)

    The optional part of a key-value pair that make up a tag.