class Amazonite::EventBridge::Tag

Overview

A key-value pair associated with an Amazon Web Services resource. In EventBridge, rules and event buses support tagging.

Included Modules

Defined in:

eventbridge/tag.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(key : String, 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 key : String #

A string you can use to assign a value. The combination of tag keys and values can help you organize and categorize your resources.


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

A string you can use to assign a value. The combination of tag keys and values can help you organize and categorize your resources.


[View source]
def validate! : Nil #

[View source]
def value : String #

The value for the specified tag key.


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

The value for the specified tag key.


[View source]