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...

Resource Properties

Most resources require you to set resource-specific property values before they can be created. If a resource does not require any properties to be declared, you can omit the Properties section of that resource.

The properties declared in a resource's Properties section are specific to the type of resource being created, and are declared according to the owning resource (see AWS Resource Types Reference).

The following example shows the declaration of a resource named "MyVolume", which declares three properties:

Resources : {
    "MyVolume" : {
        "Type" : "AWS::EC2::Volume",
        "Properties" : {
            "Size" : "4",
            "SnapshotId" : "snap234",
            "AvailabilityZone" : "us-east-1a"

Resource properties can base their value on literals, parameter references, pseudo parameters, and intrinsic functions.

Most of the sample templates declare resources that have one or more properties (see Example Templates). Also, for technical details about the Properties section format, see Properties Declaration.