class
Amazonite::EventBridge::Tag
- Amazonite::EventBridge::Tag
- Reference
- Object
Overview
A key-value pair associated with an Amazon Web Services resource. In EventBridge, rules and event buses support tagging.
Included Modules
- JSON::Serializable
Defined in:
eventbridge/tag.crConstructors
- .new(key : String, 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) -
#key : String
A string you can use to assign a value.
-
#key=(key : String)
A string you can use to assign a value.
- #validate! : Nil
-
#value : String
The value for the specified tag key.
-
#value=(value : String)
The value for the specified tag key.
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?.
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.
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.