Class: Aws::RDS::Types::Tag
- Inherits:
-
Struct
- Object
- Struct
- Aws::RDS::Types::Tag
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-rds/types.rb
Overview
When making an API call, you may pass Tag data as a hash:
{
key: "String",
value: "String",
}
Metadata assigned to an Amazon RDS resource consisting of a key-value pair.
Instance Attribute Summary collapse
-
#key ⇒ String
A key is the required name of the tag.
-
#value ⇒ String
A value is the optional value of the tag.
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\}_.:/=+\\-]*)$”).
15551 15552 15553 15554 15555 |
# File 'lib/aws-sdk-rds/types.rb', line 15551 class Tag < Struct.new( :key, :value) 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: “^([\\p{L\}\\p{Z\}\\p{N\}_.:/=+\\-]*)$”).
15551 15552 15553 15554 15555 |
# File 'lib/aws-sdk-rds/types.rb', line 15551 class Tag < Struct.new( :key, :value) include Aws::Structure end |