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

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-timestreamwrite/types.rb

Overview

Note:

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

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#keyString

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

Returns:

  • (String)


1101
1102
1103
1104
1105
1106
# File 'lib/aws-sdk-timestreamwrite/types.rb', line 1101

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

#valueString

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

Returns:

  • (String)


1101
1102
1103
1104
1105
1106
# File 'lib/aws-sdk-timestreamwrite/types.rb', line 1101

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