A descriptor for accessing the metadata of a resource while ensuring the most up-to-date data is always obtained from the database.
Bases: object
http://docs.amazonwebservices.com/AWSCloudFormation/latest/UserGuide/ intrinsic-function-reference-base64.html
http://docs.amazonwebservices.com/AWSCloudFormation/latest/UserGuide/ intrinsic-function-reference-getatt.html
http://docs.amazonwebservices.com/AWSCloudFormation/latest/UserGuide/ intrinsic-function-reference-ref.html
make a cache of the resource’s parsed template this can then be used via parsed_template(cached=True)
Check if the resource is active (ready to move to the CREATE_COMPLETE state). By default this happens as soon as the handle_create() method has completed successfully, but subclasses may customise this by overriding this function.
Create the resource. Subclasses should provide a handle_create() method to customise creation.
Delete the resource. Subclasses should provide a handle_delete() method to customise deletion.
No-op for resources which don’t explicitly override this method
Return the parsed template data for the resource. May be limited to only one section of the data, in which case a default value may also be supplied.
update the resource. Subclasses should provide a handle_update() method to customise update, the base-class handle_update will fail by default.
Returns the difference between json_template and self.t If something has been removed in json_snippet which exists in self.t we set it to None. If any keys have changed which are not in update_allowed_keys, raises NotImplementedError
Returns the changed Properties between json_template and self.t If a property has been removed in json_snippet which exists in self.t we set it to None. If any properties have changed which are not in update_allowed_properties, raises NotImplementedError