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

Class: Aws::TimestreamWrite::Types::Tag

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

Overview

Note:

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

{
  key: "TagKey", # required
  value: "TagValue", # required
}

A tag is a label that you assign to a Timestream database and/or table. Each tag consists of a key and an optional value, both of which you define. Tags enable you to categorize databases and/or tables, for example, by purpose, owner, or environment.

Instance Attribute Summary collapse

Instance Attribute Details

#keyString

The key of the tag. Tag keys are case sensitive.

Returns:

  • (String)

    The key of the tag.

#valueString

The value of the tag. Tag values are case-sensitive and can be null.

Returns:

  • (String)

    The value of the tag.