

# Tag
<a name="API_Tag"></a>

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` 

## Contents
<a name="API_Tag_Contents"></a>

 ** Key **   <a name="DMS-Type-Tag-Key"></a>
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\}\\\\p\{Z\}\\\\p\{N\}\_.:/=\+\\\\-]\*)\$").  
Type: String  
Required: No

 ** ResourceArn **   <a name="DMS-Type-Tag-ResourceArn"></a>
The Amazon Resource Name (ARN) string that uniquely identifies the resource for which the tag is created.  
Type: String  
Required: No

 ** Value **   <a name="DMS-Type-Tag-Value"></a>
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\}\\\\p\{Z\}\\\\p\{N\}\_.:/=\+\\\\-]\*)\$").  
Type: String  
Required: No

## See Also
<a name="API_Tag_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS SDK for C\+\+](https://docs.aws.amazon.com/goto/SdkForCpp/dms-2016-01-01/Tag) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/dms-2016-01-01/Tag) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/dms-2016-01-01/Tag) 