class Amazonite::CloudFormation::Parameter

Overview

The Parameter data type.

Defined in:

cloudformation/parameter.cr

Constructors

Instance Method Summary

Constructor Detail

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

[View source]
def self.new(parameter_key : String | Nil = nil, parameter_value : String | Nil = nil, use_previous_value : Bool | Nil = nil, resolved_value : String | Nil = nil) #

[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 parameter_key : String | Nil #

The key associated with the parameter. If you don't specify a key and value for a particular parameter, CloudFormation uses the default value that's specified in your template.


[View source]
def parameter_key=(parameter_key : String | Nil) #

The key associated with the parameter. If you don't specify a key and value for a particular parameter, CloudFormation uses the default value that's specified in your template.


[View source]
def parameter_value : String | Nil #

The input value associated with the parameter.


[View source]
def parameter_value=(parameter_value : String | Nil) #

The input value associated with the parameter.


[View source]
def resolved_value : String | Nil #

Read-only. The value that corresponds to a Systems Manager parameter key. This field is returned only for Systems Manager parameter types in the template. For more information, see Specify existing resources at runtime with CloudFormation-supplied parameter types in the CloudFormation User Guide.


[View source]
def resolved_value=(resolved_value : String | Nil) #

Read-only. The value that corresponds to a Systems Manager parameter key. This field is returned only for Systems Manager parameter types in the template. For more information, see Specify existing resources at runtime with CloudFormation-supplied parameter types in the CloudFormation User Guide.


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

[View source]
def use_previous_value : Bool | Nil #

During a stack update, use the existing parameter value that the stack is using for a given parameter key. If you specify true, do not specify a parameter value.


[View source]
def use_previous_value=(use_previous_value : Bool | Nil) #

During a stack update, use the existing parameter value that the stack is using for a given parameter key. If you specify true, do not specify a parameter value.


[View source]
def validate! : Nil #

[View source]