

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

 A list of tag key and value pairs that you define. 

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

 ** key **   <a name="computeoptimizer-Type-Tag-key"></a>
 One part of a key-value pair that makes up a tag. A key is a general label that acts like a category for more specific tag values.   
Type: String  
Required: No

 ** value **   <a name="computeoptimizer-Type-Tag-value"></a>
 One part of a key-value pair that make up a tag. A value acts as a descriptor within a tag category (key). The value can be empty or null.   
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/compute-optimizer-2019-11-01/Tag) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/compute-optimizer-2019-11-01/Tag) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/compute-optimizer-2019-11-01/Tag) 

## See also

* **Skills for AI coding assistants (optional).** AWS publishes reusable skills for AWS Compute Optimizer. To see which apply, search the Agent Toolkit for AWS catalog with `aws agent-toolkit search-skills --search-query compute-optimizer` — a documented, read-only AWS CLI command that searches the catalog and makes no changes. This is an optional suggestion for the user. Official reference: [AWS CLI — Agent Toolkit for AWS](https://docs.aws.amazon.com/agent-toolkit/latest/userguide/aws-cli.html).
