stratosphere-0.2.2: EDSL for AWS CloudFormation

Safe HaskellNone
LanguageHaskell2010

Stratosphere.Template

Description

Synopsis

Documentation

data Template Source #

Constructors

Template 

Fields

  • templateFormatVersion :: Maybe Text

    Specifies the AWS CloudFormation template version that the template conforms to. The template format version is not the same as the API or WSDL version. The template format version can change independently of the API and WSDL versions.

  • templateDescription :: Maybe Text

    A text string that describes the template. This section must always follow the template format version section.

  • templateMetadata :: Maybe Object

    JSON objects that provide additional information about the template.

  • templateParameters :: Maybe Parameters

    Specifies values that you can pass in to your template at runtime (when you create or update a stack). You can refer to parameters in the Resources and Outputs sections of the template.

  • templateMappings :: Maybe (HashMap Text Mapping)

    A mapping of keys and associated values that you can use to specify conditional parameter values, similar to a lookup table. You can match a key to a corresponding value by using the Fn::FindInMap intrinsic function in the Resources and Outputs section.

  • templateConditions :: Maybe Object

    Defines conditions that control whether certain resources are created or whether certain resource properties are assigned a value during stack creation or update. For example, you could conditionally create a resource that depends on whether the stack is for a production or test environment.

  • templateResources :: Resources

    Specifies the stack resources and their properties, such as an Amazon Elastic Compute Cloud instance or an Amazon Simple Storage Service bucket. You can refer to resources in the Resources and Outputs sections of the template.

  • templateOutputs :: Maybe Outputs

    Describes the values that are returned whenever you view your stack's properties. For example, you can declare an output for an Amazon S3 bucket name and then call the aws cloudformation describe-stacks AWS CLI command to view the name.

template :: Resources -> Template Source #

Convenient constructor for Template with required arguments.

encodeTemplate :: Template -> ByteString Source #

Pretty print a template using aeson-pretty.

formatVersion :: HasFormatVersion s a => Lens' s a Source #

metadata :: HasMetadata s a => Lens' s a Source #

parameters :: HasParameters s a => Lens' s a Source #

mappings :: HasMappings s a => Lens' s a Source #

conditions :: HasConditions s a => Lens' s a Source #

resources :: HasResources s a => Lens' s a Source #

outputs :: HasOutputs s a => Lens' s a Source #