Class: Aws::RDS::Types::Tag

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

Overview

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

For more information, see [Tagging Amazon RDS Resources] in the *Amazon RDS User Guide* or [Tagging Amazon Aurora and Amazon RDS Resources] in the *Amazon Aurora User Guide*.

[1]: docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.html [2]: docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_Tagging.html

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#keyString

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)


27284
27285
27286
27287
27288
27289
# File 'lib/aws-sdk-rds/types.rb', line 27284

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

#valueString

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: “^([\\p{L\}\\p{Z\}\\p{N\}_.:/=+\\-@]*)$”).

Returns:

  • (String)


27284
27285
27286
27287
27288
27289
# File 'lib/aws-sdk-rds/types.rb', line 27284

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