

# Tag


A key-value pair associated with an AWS resource. In EventBridge, rules and event buses support tagging.

## Contents


 ** Key **   <a name="eventbridge-Type-Tag-Key"></a>
A string you can use to assign a value. The combination of tag keys and values can help you organize and categorize your resources.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 128.  
Required: Yes

 ** Value **   <a name="eventbridge-Type-Tag-Value"></a>
The value for the specified tag key.  
Type: String  
Length Constraints: Minimum length of 0. Maximum length of 256.  
Required: Yes

## See Also


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/pipes-2015-10-07/Tag) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/pipes-2015-10-07/Tag) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/pipes-2015-10-07/Tag) 