You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::DatabaseMigrationService::Types::Tag
- Inherits:
-
Struct
- Object
- Struct
- Aws::DatabaseMigrationService::Types::Tag
- Defined in:
- (unknown)
Overview
When passing Tag as input to an Aws::Client method, you can use a vanilla Hash:
{
key: "String",
value: "String",
}
A user-defined key-value pair that describes metadata added to an AWS DMS resource and that is used by operations such as the following:
-
AddTagsToResource
-
ListTagsForResource
-
RemoveTagsFromResource
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 1-128 Unicode characters in length and can\'t be prefixed with \"aws:\" or \"dms:\". The string can only contain only the set of Unicode letters, digits, white-space, \'_\', \'.\', \'/\', \'=\', \'+\', \'-\' (Java regular expressions: \"^([\\p`L\\pZ\\pN`_.:/=+\\-]*)$\").
#value ⇒ String
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:\" or \"dms:\". The string can only contain only the set of Unicode letters, digits, white-space, \'_\', \'.\', \'/\', \'=\', \'+\', \'-\' (Java regular expressions: \"^([\\p`L\\pZ\\pN`_.:/=+\\-]*)$\").