| Safe Haskell | None | 
|---|---|
| Language | Haskell2010 | 
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.
- data Parameter = Parameter {
- parameterName :: Text
 - parameterType' :: Text
 - parameterDefault' :: Maybe Value
 - parameterNoEcho :: Maybe Bool'
 - parameterAllowedValues :: Maybe Array
 - parameterAllowedPattern :: Maybe Text
 - parameterMaxLength :: Maybe Integer'
 - parameterMinLength :: Maybe Integer'
 - parameterMaxValue :: Maybe Integer'
 - parameterMinValue :: Maybe Integer'
 - parameterDescription :: Maybe Text
 - parameterConstraintDescription :: Maybe Text
 
 - class HasAllowedPattern s a | s -> a where
 - class HasAllowedValues s a | s -> a where
 - class HasConstraintDescription s a | s -> a where
 - class HasDefault' s a | s -> a where
 - class HasDescription s a | s -> a where
 - class HasMaxLength s a | s -> a where
 - class HasMaxValue s a | s -> a where
 - class HasMinLength s a | s -> a where
 - class HasMinValue s a | s -> a where
 - class HasName s a | s -> a where
 - class HasNoEcho s a | s -> a where
 - class HasType' s a | s -> a where
 - parameterToJSON :: Parameter -> Value
 - parameterFromJSON :: Text -> Object -> Parser Parameter
 - parameter :: Text -> Text -> Parameter
 - newtype Parameters = Parameters {
- unParameters :: [Parameter]
 
 
Documentation
Constructors
| Parameter | |
Fields 
  | |
Instances
class HasAllowedPattern s a | s -> a where Source #
Minimal complete definition
Methods
allowedPattern :: Lens' s a Source #
class HasAllowedValues s a | s -> a where Source #
Minimal complete definition
Methods
allowedValues :: Lens' s a Source #
class HasConstraintDescription s a | s -> a where Source #
Minimal complete definition
Methods
constraintDescription :: Lens' s a Source #
class HasDefault' s a | s -> a where Source #
Minimal complete definition
class HasDescription s a | s -> a where Source #
Minimal complete definition
Methods
description :: Lens' s a Source #
class HasMaxLength s a | s -> a where Source #
Minimal complete definition
class HasMaxValue s a | s -> a where Source #
Minimal complete definition
class HasMinLength s a | s -> a where Source #
Minimal complete definition
class HasMinValue s a | s -> a where Source #
Minimal complete definition
parameterToJSON :: Parameter -> Value Source #
Constructor for Parameter with required arguments.
newtype Parameters Source #
Wrapper around a list of Parameterss to we can modify the aeson
 instances.
Constructors
| Parameters | |
Fields 
  | |
Instances