Class: Aws::DocDB::Types::Tag

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

Overview

Metadata assigned to an Amazon DocumentDB resource consisting of a key-value pair.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#keyString

The required name of the tag. The string value can be from 1 to 128 Unicode characters in length and can't be prefixed with "aws:" or "rds:". The string can contain only the set of Unicode letters, digits, white space, '_', '.', '/', '=', '+', '-' (Java regex: "^([\\p{L\}\\p{Z\}\\p{N\}_.:/=+\\-]*)$").

Returns:

  • (String)


5672
5673
5674
5675
5676
5677
# File 'gems/aws-sdk-docdb/lib/aws-sdk-docdb/types.rb', line 5672

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

#valueString

The optional value of the tag. The string value can be from 1 to 256 Unicode characters in length and can't be prefixed with "aws:" or "rds:". The string can contain only the set of Unicode letters, digits, white space, '_', '.', '/', '=', '+', '-' (Java regex: "^([\\p{L\}\\p{Z\}\\p{N\}_.:/=+\\-]*)$").

Returns:

  • (String)


5672
5673
5674
5675
5676
5677
# File 'gems/aws-sdk-docdb/lib/aws-sdk-docdb/types.rb', line 5672

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