Class: Aws::DirectoryService::Types::Tag

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

Overview

Metadata assigned to a directory consisting of a key-value pair.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#keyString

Required name of the tag. The string value can be Unicode characters and cannot be prefixed with "aws:". The string can contain only the set of Unicode letters, digits, white-space, '_', '.', '/', '=', '+', '-', ':', '@'(Java regex: "^([\\pL\\pZ\\pN_.:/=+\\-]*)$").

Returns:

  • (String)


4277
4278
4279
4280
4281
4282
# File 'gems/aws-sdk-directoryservice/lib/aws-sdk-directoryservice/types.rb', line 4277

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

#valueString

The optional value of the tag. The string value can be Unicode characters. The string can contain only the set of Unicode letters, digits, white-space, '_', '.', '/', '=', '+', '-', ':', '@' (Java regex: "^([\\pL\\pZ\\pN_.:/=+\\-]*)$").

Returns:

  • (String)


4277
4278
4279
4280
4281
4282
# File 'gems/aws-sdk-directoryservice/lib/aws-sdk-directoryservice/types.rb', line 4277

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