AWS::RDS::DBCluster Tag
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.
Syntax
To declare this entity in your AWS CloudFormation template, use the following syntax:
Properties
Key
-
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:
orrds:
. The string can only contain only the set of Unicode letters, digits, white-space, '_', '.', ':', '/', '=', '+', '-', '@' (Java regex: "^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)$").Required: Yes
Type: String
Minimum:
1
Maximum:
128
Update requires: No interruption
Value
-
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:
orrds:
. The string can only contain only the set of Unicode letters, digits, white-space, '_', '.', ':', '/', '=', '+', '-', '@' (Java regex: "^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)$").Required: No
Type: String
Minimum:
0
Maximum:
256
Update requires: No interruption
Examples
The following example specifies a tag for a DB cluster.
JSON
"Tags" : [ { "Key" : "keyname1", "Value" : "value1" }, { "Key" : "keyname2", "Value" : "value2" } ]
YAML
Tags: - Key: keyname1 Value: value1 - Key: keyname2 Value: value2