

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

The tag structure that contains a tag key and value.

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

 ** key **   <a name="awscostmanagement-Type-CostOptimizationHub_Tag-key"></a>
The key that's associated with the tag.  
Type: String  
Required: No

 ** value **   <a name="awscostmanagement-Type-CostOptimizationHub_Tag-value"></a>
The value that's associated with the tag.  
Type: String  
Required: No

## See Also
<a name="API_CostOptimizationHub_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/cost-optimization-hub-2022-07-26/Tag) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/cost-optimization-hub-2022-07-26/Tag) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/cost-optimization-hub-2022-07-26/Tag) 