The heat.engine.attributes ModuleΒΆ

class heat.engine.attributes.Attribute(attr_name, description)[source]

Bases: object

An Attribute schema.

Attribute.DESCRIPTION = 'description'
Attribute.as_output(resource_name)[source]

Return an Output schema entry for a provider template with the given resource name.

Parameters:resource_name – the logical name of the provider resource
Returns:This attribute as a template ‘Output’ entry
class heat.engine.attributes.Attributes(res_name, schema, resolver)[source]

Bases: _abcoll.Mapping

Models a collection of Resource Attributes.

static Attributes.as_outputs(resource_name, resource_class)[source]
Parameters:
  • resource_name – logical name of the resource
  • resource_class – resource implementation class
Returns:

The attributes of the specified resource_class as a template Output map

static Attributes.schema_from_outputs(json_snippet)[source]

Previous topic

The heat.engine.parser Module

Next topic

The heat.engine.watchrule Module

This Page