stratosphere-0.1.0: EDSL for AWS CloudFormation

Safe HaskellNone
LanguageHaskell2010

Stratosphere.Values

Synopsis

Documentation

data Val a Source

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

Instances

newtype Integer' Source

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

unInteger' :: Integer
 

data Bool' Source

We need to wrap Bools for the same reason we need to wrap Ints.

Constructors

False' 
True' 

class ToRef a b where Source

Class used to create a Ref from another type.

Methods

toRef :: a -> Val b Source