class Amazonite::CloudFormation::Tag

Overview

The Tag type enables you to specify a key-value pair that can be used to store information about an CloudFormation stack.

Defined in:

cloudformation/tag.cr

Constructors

Instance Method Summary

Constructor Detail

def self.from_xml(node : XML::Node) : self #

[View source]
def self.new(key : String, value : String) #

[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 used to identify this tag. You can specify a maximum of 128 characters for a tag key. Tags owned by Amazon Web Services have the reserved prefix: aws:.


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

A string used to identify this tag. You can specify a maximum of 128 characters for a tag key. Tags owned by Amazon Web Services have the reserved prefix: aws:.


[View source]
def to_query_params(prefix : String) : Array(Tuple(String, String)) #

[View source]
def validate! : Nil #

[View source]
def value : String #

A string that contains the value for this tag. You can specify a maximum of 256 characters for a tag value.


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

A string that contains the value for this tag. You can specify a maximum of 256 characters for a tag value.


[View source]