Class: Aws::DeviceFarm::Types::Tag

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

Overview

Note:

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

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

The metadata that you apply to a resource to help you categorize and organize it. Each tag consists of a key and an optional value, both of which you define. Tag keys can have a maximum character length of 128 characters. Tag values can have a maximum length of 256 characters.

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)


6312
6313
6314
6315
6316
6317
# File 'gems/aws-sdk-devicefarm/lib/aws-sdk-devicefarm/types.rb', line 6312

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

#valueString

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

Returns:

  • (String)


6312
6313
6314
6315
6316
6317
# File 'gems/aws-sdk-devicefarm/lib/aws-sdk-devicefarm/types.rb', line 6312

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