Bases: object
Create the stack and all of the resources.
Creation will fail if it exceeds the specified timeout. The default is 60 minutes, set in the constructor
Delete all of the resources, and then the stack itself. The action parameter is used to differentiate between a user initiated delete and an automatic stack rollback after a failed create, which amount to the same thing, but the states are recorded differently.
Retrieve a Stack from the database
Return the resource in this stack with the specified refid, or None if not found
stop resource_name and all that depend on it start resource_name and all that depend on it
Store the stack in the database and return its ID If self.id is set, we update the existing stack
Compare the current stack with newstack, and where necessary create/update/delete the resources until this stack aligns with newstack.
Note update of existing stack resources depends on update being implemented in the underlying resource types
Update will fail if it exceeds the specified timeout. The default is 60 minutes, set in the constructor
http://docs.amazonwebservices.com/AWSCloudFormation/latest/ APIReference/API_ValidateTemplate.html
Resolve static parameters, map lookups, etc. in a template.
Example:
>>> template = Template(template_format.parse(template_path))
>>> parameters = Parameters('stack', template, {'KeyName': 'my_key'})
>>> resolve_static_data(template, parameters, {'Ref': 'KeyName'})
'my_key'