The heat.engine.rsrc_defn Module

class heat.engine.rsrc_defn.ResourceDefinition(name, resource_type, properties=None, metadata=None, depends=None, deletion_policy=None, update_policy=None, description=None, external_id=None, condition=None)[source]

Bases: heat.engine.rsrc_defn.ResourceDefinitionCore, _abcoll.Mapping

A resource definition that also acts like a cfn template snippet.

This class exists only for backwards compatibility with existing resource plugins and unit tests; it is deprecated and will be replaced with ResourceDefinitionCore, possibly as soon as the Ocata release.

class Diff(old_defn, new_defn)[source]

Bases: heat.engine.rsrc_defn.Diff, _abcoll.Mapping

A resource definition diff that acts like a cfn template snippet.

This class exists only for backwards compatibility with existing resource plugins and unit tests; it is deprecated and could be removed as soon as the Ocata release. Prefer using the API directly rather than treating the diff as a dict containing the differences between two cfn template snippets.

Previous topic

The heat.engine.resource Module

Next topic

The heat.engine.scheduler Module

Project Source

This Page