Class: Aws::KMS::Types::Tag
- Inherits:
-
Struct
- Object
- Struct
- Aws::KMS::Types::Tag
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-kms/types.rb
Overview
Note:
When making an API call, you may pass Tag data as a 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*.
[1]: docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/allocation-tag-restrictions.html
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.
2674 2675 2676 2677 2678 |
# File 'lib/aws-sdk-kms/types.rb', line 2674 class Tag < Struct.new( :tag_key, :tag_value) include Aws::Structure end |
#tag_value ⇒ String
The value of the tag.
2674 2675 2676 2677 2678 |
# File 'lib/aws-sdk-kms/types.rb', line 2674 class Tag < Struct.new( :tag_key, :tag_value) include Aws::Structure end |