stratosphere-0.2.1: EDSL for AWS CloudFormation

Safe HaskellNone
LanguageHaskell2010

Stratosphere.Parameters

Description

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/parameters-section-structure.html

You can use the optional Parameters section to pass values into your template when you create a stack. With parameters, you can create templates that are customized each time you create a stack. Each parameter must contain a value when you create a stack. You can specify a default value to make the parameter optional. For more information about creating stacks, see Working with Stacks.

Synopsis

Documentation

data Parameter Source #

Constructors

Parameter 

Fields

Instances

Eq Parameter Source # 
Show Parameter Source # 
NamedItem Parameter Source # 
ToRef Parameter b Source # 

Methods

toRef :: Parameter -> Val b Source #

HasType' Parameter Text Source # 
HasName Parameter Text Source # 
HasNoEcho Parameter (Maybe Bool') Source # 
HasMinValue Parameter (Maybe Integer') Source # 
HasMinLength Parameter (Maybe Integer') Source # 
HasMaxValue Parameter (Maybe Integer') Source # 
HasMaxLength Parameter (Maybe Integer') Source # 
HasDescription Parameter (Maybe Text) Source # 
HasDefault' Parameter (Maybe Value) Source # 
HasConstraintDescription Parameter (Maybe Text) Source # 
HasAllowedValues Parameter (Maybe Array) Source # 
HasAllowedPattern Parameter (Maybe Text) Source # 

class HasAllowedPattern s a | s -> a where Source #

Minimal complete definition

allowedPattern

class HasAllowedValues s a | s -> a where Source #

Minimal complete definition

allowedValues

Methods

allowedValues :: Lens' s a Source #

class HasDefault' s a | s -> a where Source #

Minimal complete definition

default'

Methods

default' :: Lens' s a Source #

class HasMaxLength s a | s -> a where Source #

Minimal complete definition

maxLength

Methods

maxLength :: Lens' s a Source #

class HasMaxValue s a | s -> a where Source #

Minimal complete definition

maxValue

Methods

maxValue :: Lens' s a Source #

class HasMinLength s a | s -> a where Source #

Minimal complete definition

minLength

Methods

minLength :: Lens' s a Source #

class HasMinValue s a | s -> a where Source #

Minimal complete definition

minValue

Methods

minValue :: Lens' s a Source #

class HasName s a | s -> a where Source #

Minimal complete definition

name

Methods

name :: Lens' s a Source #

class HasNoEcho s a | s -> a where Source #

Minimal complete definition

noEcho

Methods

noEcho :: Lens' s a Source #

class HasType' s a | s -> a where Source #

Minimal complete definition

type'

Methods

type' :: Lens' s a Source #

parameter Source #

Arguments

:: Text

Name

-> Text

Type

-> Parameter 

Constructor for Parameter with required arguments.