Safe Haskell | None |
---|---|
Language | Haskell2010 |
Stratosphere.Values
Documentation
This type is a wrapper around any values in a template. A value can be a
Literal
, a Ref
, or an intrinsic function. See:
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/intrinsic-function-reference.html
Constructors
Literal a | |
Ref Text | |
If Text (Val a) (Val a) | |
And (Val Bool') (Val Bool') | |
Equals (Val Bool') (Val Bool') | |
Or (Val Bool') (Val Bool') | |
GetAtt Text Text | |
Base64 (Val a) | |
Join Text [Val a] | |
Select Integer' (Val a) | |
GetAZs (Val a) | |
FindInMap (Val a) (Val a) (Val a) | Map name, top level key, and second level key |
ImportValue Text | The account-and-region-unique exported name of the value to import |
We need to wrap integers so we can override the Aeson type-classes. This is necessary because CloudFront made the silly decision to represent numbers as JSON strings.
Constructors
Integer' | |
Fields |
Instances
We need to wrap Bools for the same reason we need to wrap Ints.
We need to wrap Doubles for the same reason we need to wrap Ints.