

# Tag
<a name="API_messaging-chime_Tag"></a>

A tag object containing a key-value pair.

## Contents
<a name="API_messaging-chime_Tag_Contents"></a>

 ** Key **   <a name="chimesdk-Type-messaging-chime_Tag-Key"></a>
The key in a tag.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 128.  
Required: Yes

 ** Value **   <a name="chimesdk-Type-messaging-chime_Tag-Value"></a>
The value in a tag.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 256.  
Required: Yes

## See Also
<a name="API_messaging-chime_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/chime-sdk-messaging-2021-05-15/Tag) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/chime-sdk-messaging-2021-05-15/Tag) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/chime-sdk-messaging-2021-05-15/Tag) 