stratosphere-0.1.3: 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.

resName :: HasResName s a => Lens' s a Source #

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

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

resCreationPolicy :: HasResCreationPolicy s a => Lens' s a Source #

resUpdatePolicy :: HasResUpdatePolicy s a => Lens' s a Source #

dependsOn :: HasDependsOn s a => Lens' s a Source #

data ResourceProperties Source #

data DeletionPolicy Source #

Constructors

Delete 
Retain 
Snapshot 

Instances