AWS CloudFormation
User Guide (API Version 2010-05-15)
« PreviousNext »
View the PDF for this guide.Go to the AWS Discussion Forum for this product.Go to the Kindle Store to download this guide in Kindle format.Did this page help you?  Yes | No |  Tell us about it...

Template Declaration

Templates have six major sections, each separated by a comma. The Resources section is required. The rest are optional. There is no required ordering of the sections within the template.

The first character in the template must be an open brace, "{". The last character must be a closed brace, "}". The sections are delimited by a comma.

The following template fragment shows the template structure and sections. These sections may appear in the template in any order.

{

    "AWSTemplateFormatVersion" : "version date",

    "Description" : "Valid JSON strings",

    "Parameters" : {
        set of parameters
    },

    "Mappings" : {
            set of mappings
            },

    "Conditions" : {
            set of conditions
            },

    "Resources" : {
        set of resources
     },

    "Outputs" : {
        set of outputs
    }
}
      

Further information about each of the sections is as follows.