class Amazonite::Kms::Tag

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

Defined in:

kms/tag.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(tag_key : String, tag_value : String) #

[View source]
def self.new(pull : JSON::PullParser) #

[View source]
def self.new(*, __pull_for_json_serializable pull : JSON::PullParser) #

[View source]

Instance Method Detail

def ==(other : self) #
Description copied from class Reference

Returns true if this reference is the same as other. Invokes same?.


def hash(hasher) #
Description copied from class Reference

See Object#hash(hasher)


def tag_key : String #

The key of the tag.


[View source]
def tag_key=(tag_key : String) #

The key of the tag.


[View source]
def tag_value : String #

The value of the tag.


[View source]
def tag_value=(tag_value : String) #

The value of the tag.


[View source]
def validate! : Nil #

[View source]