Class: Aws::TranscribeService::Types::Tag

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

Overview

Adds metadata, in the form of a key:value pair, to the specified resource.

For example, you could add the tag ‘Department:Sales` to a resource to indicate that it pertains to your organization’s sales department. You can also use tags for tag-based access control.

To learn more about tagging, see [Tagging resources].

[1]: docs.aws.amazon.com/transcribe/latest/dg/tagging.html

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#keyString

The first part of a key:value pair that forms a tag associated with a given resource. For example, in the tag ‘Department:Sales`, the key is ’Department’.

Returns:

  • (String)


4274
4275
4276
4277
4278
4279
# File 'lib/aws-sdk-transcribeservice/types.rb', line 4274

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

#valueString

The second part of a key:value pair that forms a tag associated with a given resource. For example, in the tag ‘Department:Sales`, the value is ’Sales’.

Note that you can set the value of a tag to an empty string, but you can’t set the value of a tag to null. Omitting the tag value is the same as using an empty string.

Returns:

  • (String)


4274
4275
4276
4277
4278
4279
# File 'lib/aws-sdk-transcribeservice/types.rb', line 4274

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