Description
The Create CloudFormation Stack action is used to create a CloudFormation stack. Later, it can (optionally) be deleted.
For example, at 8am, a stack can be created for development purposes, then 8 hours later, it can be deleted.
Settings
Please see Common Action Settings for a description of settings common to all action types.
Stack Name
Indicates the name of the new stack. Macros can be used in this field.
Template Format
Indicates how the CloudFormation template is specified. Valid choices are:
Object in an Amazon S3 Bucket
URL to an Object in Amazon S3
Specify Template Content as JSON
Template Bucket Name
Required when Template Format is "Object in an Amazon S3 Bucket". Indicates the name of the S3 bucket that holds the CloudFormation Template.
Template Object Key
Required when Template Format is "Object in an Amazon S3 Bucket". Indicates the object key (file name) of the template file in S3.
Template URL
Required when Template Format is "URL to an Object in Amazon S3". Indicates the URL to the CloudFormation Template.
Template Body
Required when Template Format is "Specify Template Content as JSON". Indicates the template body in JSON format.
Capabilities
Indicate capabilities required by the template.
Parameters
Specify any input parameters and their values required by the template. Macros can be used in parameter values.
Resource Tags
Adds resource tags to the stack. Macros can be used in tag values.
Timeout
Optional. Specify a timeout (in minutes) after which stack-creation is considered as failed.
Failure Behaviour
Indicate the behaviour of the stack if creation fails. Valid values are:
Do Nothing
Delete the Stack
Rollback
Delete the Stack
Indicate whether the new stack should be automatically deleted later. The running time of the stack must also be specified if this is enabled.
Running Duration
Indicate the length of time the RDS instance should remain running before it is deleted. This value is only required if "Delete the Instance" is enabled.
Amazon Commands Used
The following Amazon AWS commands are used. The access key should have permission to execute all of them.
cloudformation:CreateStack
cloudformation:DeleteStack
cloudformation:DescribeStacks
s3:GetObject