You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::CloudWatch::Types::Tag
- Inherits:
-
Struct
- Object
- Struct
- Aws::CloudWatch::Types::Tag
- Defined in:
- (unknown)
Overview
Note:
When passing Tag as input to an Aws::Client method, you can use a vanilla Hash:
{
key: "TagKey", # required
value: "TagValue", # required
}
A key-value pair associated with a CloudWatch resource.
Instance Attribute Summary collapse
-
#key ⇒ String
A string that you can use to assign a value.
-
#value ⇒ String
The value for the specified tag key.
Instance Attribute Details
#key ⇒ String
A string that you can use to assign a value. The combination of tag keys and values can help you organize and categorize your resources.
#value ⇒ String
The value for the specified tag key.