class Amazonite::CloudFormation::ParameterConstraints

Overview

A set of criteria that CloudFormation uses to validate parameter values. Although other constraints might be defined in the stack template, CloudFormation returns only the AllowedValues property.

Defined in:

cloudformation/parameter_constraints.cr

Constructors

Instance Method Summary

Constructor Detail

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

[View source]
def self.new(allowed_values : Array(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 allowed_values : Array(String) | Nil #

A list of values that are permitted for a parameter.


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

A list of values that are permitted for a parameter.


[View source]
def hash(hasher) #
Description copied from class Reference

See Object#hash(hasher)


def to_query_params(prefix : String) : Array(Tuple(String, String)) #

[View source]
def validate! : Nil #

[View source]