You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::KMS::Types::Tag
- Inherits:
-
Struct
- Object
- Struct
- Aws::KMS::Types::Tag
- Defined in:
- (unknown)
Overview
Note:
When passing Tag as input to an Aws::Client method, you can use a vanilla Hash:
{
tag_key: "TagKeyType", # required
tag_value: "TagValueType", # required
}
A key-value pair. A tag consists of a tag key and a tag value. Tag keys and tag values are both required, but tag values can be empty (null) strings.
For information about the rules that apply to tag keys and tag values, see User-Defined Tag Restrictions in the AWS Billing and Cost Management User Guide.
Instance Attribute Summary collapse
-
#tag_key ⇒ String
The key of the tag.
-
#tag_value ⇒ String
The value of the tag.
Instance Attribute Details
#tag_key ⇒ String
The key of the tag.
#tag_value ⇒ String
The value of the tag.