AWS::RDS::DBProxy TagFormat
Metadata assigned to a DB proxy consisting of a key-value pair.
Syntax
To declare this entity in your Amazon CloudFormation template, use the following syntax:
Properties
Key
-
A key is the required name of the tag. The string value can be 1-128 Unicode characters in length and can't be prefixed with
aws:
. The string can contain only the set of Unicode letters, digits, white-space, '_', '.', '/', '=', '+', '-' (Java regex: "^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-]*)$").Required: No
Type: String
Pattern:
(\w|\d|\s|\\|-|\.:=+-)*
Maximum:
128
Update requires: No interruption
Value
-
A value is the optional value of the tag. The string value can be 1-256 Unicode characters in length and can't be prefixed with
aws:
. The string can contain only the set of Unicode letters, digits, white-space, '_', '.', '/', '=', '+', '-' (Java regex: "^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-]*)$").Required: No
Type: String
Pattern:
(\w|\d|\s|\\|-|\.:=+-)*
Maximum:
128
Update requires: No interruption
Examples
The following example specifies a tag for a DB proxy.
JSON
"Tags" : [ { "Key" : "keyname1", "Value" : "value1" }, { "Key" : "keyname2", "Value" : "value2" } ]
YAML
Tags: - Key: keyname1 Value: value1 - Key: keyname2 Value: value2