class Amazonite::Iam::TagTemplate

Overview

Represents a tag that is applied to roles that are created from a role template. The key and value can include @{parameter} placeholders that are replaced with template parameter values when the role is created.

Defined in:

iam/tag_template.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 #

The key name of the tag.


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

The key name of the tag.


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

[View source]
def validate! : Nil #

[View source]
def value : String #

The value associated with the tag key.


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

The value associated with the tag key.


[View source]