The heat.engine.resources.wait_condition Module

class heat.engine.resources.wait_condition.WaitCondition(name, json_snippet, stack)[source]

Bases: heat.engine.resource.Resource

FnGetAtt(key)[source]
MAX_SLEEP = 10
MIN_SLEEP = 1
SLEEP_DIV = 100
handle_create()[source]
handle_delete()[source]
handle_update(json_snippet)[source]
properties_schema = {'Count': {'Type': 'Number', 'MinValue': '1'}, 'Handle': {'Required': True, 'Type': 'String'}, 'Timeout': {'Required': True, 'Type': 'Number', 'MinValue': '1'}}
class heat.engine.resources.wait_condition.WaitConditionHandle(name, json_snippet, stack)[source]

Bases: heat.engine.resource.Resource

the main point of this class is to : have no dependancies (so the instance can reference it) generate a unique url (to be returned in the refernce) then the cfn-signal will use this url to post to and WaitCondition will poll it to see if has been written to.

FnGetRefId()[source]

Override the default resource FnGetRefId so we return the signed URL

get_status()[source]

Return a list of the Status values for the handle signals

get_status_reason(status)[source]

Return the reason associated with a particular status If there is more than one handle signal matching the specified status then return a semicolon delimited string containing all reasons

handle_create()[source]
handle_delete()[source]
handle_update(json_snippet)[source]
metadata_update(new_metadata=None)[source]

Validate and update the resource metadata

properties_schema = {}
heat.engine.resources.wait_condition.resource_mapping()[source]

This Page