class
Amazonite::Kms::Tag
- Amazonite::Kms::Tag
- Reference
- Object
Overview
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.
Do not include confidential or sensitive information in this field. This field may be displayed in plaintext in CloudTrail logs and other output.
For information about the rules that apply to tag keys and tag values, see User-Defined Tag Restrictions in the Amazon Web Services Billing and Cost Management User Guide.
Included Modules
- JSON::Serializable
Defined in:
kms/tag.crConstructors
- .new(tag_key : String, tag_value : String)
- .new(pull : JSON::PullParser)
- .new(*, __pull_for_json_serializable pull : JSON::PullParser)
Instance Method Summary
-
#==(other : self)
Returns
trueif this reference is the same as other. -
#hash(hasher)
See
Object#hash(hasher) -
#tag_key : String
The key of the tag.
-
#tag_key=(tag_key : String)
The key of the tag.
-
#tag_value : String
The value of the tag.
-
#tag_value=(tag_value : String)
The value of the tag.
- #validate! : Nil
Constructor Detail
Instance Method Detail
def ==(other : self)
#
Description copied from class Reference
Returns true if this reference is the same as other. Invokes same?.