stratosphere-0.1.0: EDSL for AWS CloudFormation

Safe HaskellNone
LanguageHaskell2010

Stratosphere.Resources

Description

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/resources-section-structure.html

The required Resources section declare the AWS resources that you want as part of your stack, such as an Amazon EC2 instance or an Amazon S3 bucket. You must declare each resource separately; however, you can specify multiple resources of the same type. If you declare multiple resources, separate them with commas.

Synopsis

Documentation

resource Source

Arguments

:: Text

Logical name

-> ResourceProperties 
-> Resource 

Convenient constructor for Resource with required arguments.

properties :: HasProperties s a => Lens' s a Source

deletionPolicy :: HasDeletionPolicy s a => Lens' s a Source

newtype Resources Source

Wrapper around a list of Resourcess to we can modify the aeson instances.

Constructors

Resources 

Fields

unResources :: [Resource]