Class: Aws::PI::Types::Tag

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

Overview

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

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#key ⇒ String

A key is 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 only contain only the set of Unicode letters, digits, white-space, '_', '.', ':', '/', '=', '+', '-', '@' (Java regex: "^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)$").

Returns:

  • (String)


1860
1861
1862
1863
1864
1865
# File 'gems/aws-sdk-pi/lib/aws-sdk-pi/types.rb', line 1860

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

#value ⇒ String

A value is 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 only contain only the set of Unicode letters, digits, white-space, '_', '.', ':', '/', '=', '+', '-', '@' (Java regex: "^([\\pL\\pZ\\pN_.:/=+\\-@]*)$").

Returns:

  • (String)


1860
1861
1862
1863
1864
1865
# File 'gems/aws-sdk-pi/lib/aws-sdk-pi/types.rb', line 1860

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