Safe Haskell | None |
---|---|
Language | Haskell2010 |
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
- allowedPattern :: Lens' s a
- class HasAllowedValues s a | s -> a where
- allowedValues :: Lens' s a
- class HasConstraintDescription s a | s -> a where
- constraintDescription :: Lens' s a
- class HasDefault' s a | s -> a where
- class HasDescription s a | s -> a where
- description :: Lens' s a
- 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
Parameter | |
|
class HasAllowedPattern s a | s -> a where Source
allowedPattern :: Lens' s a Source
class HasAllowedValues s a | s -> a where Source
allowedValues :: Lens' s a Source
class HasConstraintDescription s a | s -> a where Source
constraintDescription :: Lens' s a Source
class HasDefault' s a | s -> a where Source
class HasDescription s a | s -> a where Source
description :: Lens' s a Source
class HasMaxLength s a | s -> a where Source
class HasMaxValue s a | s -> a where Source
class HasMinLength s a | s -> a where Source
class HasMinValue s a | s -> a where Source
parameterToJSON :: Parameter -> Value Source
Constructor for Parameter
with required arguments.
newtype Parameters Source
Wrapper around a list of Parameters
s to we can modify the aeson
instances.