

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

A container of a key value name pair.

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

 ** Key **   <a name="AmazonS3-Type-Tag-Key"></a>
Name of the object key.  
Type: String  
Length Constraints: Minimum length of 1.  
Required: Yes

 ** Value **   <a name="AmazonS3-Type-Tag-Value"></a>
Value of the tag.  
Type: String  
Required: Yes

## 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\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/s3-2006-03-01/Tag) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/s3-2006-03-01/Tag) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/s3-2006-03-01/Tag) 