Safe Haskell | None |
---|---|
Language | Haskell2010 |
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
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.
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.