Bases: heat.engine.template_common.CommonTemplate
The base implementation of cfn template.
-
ALTERNATE_VERSION = 'HeatTemplateFormatVersion'
-
DESCRIPTION = 'Description'
-
HOT_TO_CFN_RES_ATTRS = {'properties': 'Properties', 'depends_on': 'DependsOn', 'update_policy': 'UpdatePolicy', 'condition': 'Condition', 'deletion_policy': 'DeletionPolicy', 'metadata': 'Metadata', 'type': 'Type'}
-
MAPPINGS = 'Mappings'
-
OUTPUTS = 'Outputs'
-
OUTPUT_DESCRIPTION = 'Description'
-
OUTPUT_KEYS = ('Description', 'Value')
-
OUTPUT_VALUE = 'Value'
-
PARAMETERS = 'Parameters'
-
RESOURCES = 'Resources'
-
RES_DELETION_POLICY = 'DeletionPolicy'
-
RES_DEPENDS_ON = 'DependsOn'
-
RES_DESCRIPTION = 'Description'
-
RES_METADATA = 'Metadata'
-
RES_PROPERTIES = 'Properties'
-
RES_TYPE = 'Type'
-
RES_UPDATE_POLICY = 'UpdatePolicy'
-
SECTIONS = ('AWSTemplateFormatVersion', 'HeatTemplateFormatVersion', 'Description', 'Mappings', 'Parameters', 'Resources', 'Outputs')
-
SECTIONS_NO_DIRECT_ACCESS = set(['HeatTemplateFormatVersion', 'AWSTemplateFormatVersion', 'Parameters'])
-
VERSION = 'AWSTemplateFormatVersion'
-
add_resource(definition, name=None)[source]
-
deletion_policies = {'Delete': 'Delete', 'Retain': 'Retain', 'Snapshot': 'Snapshot'}
-
functions = {'Fn::GetAZs': <class 'heat.engine.cfn.functions.GetAZs'>, 'Fn::GetAtt': <class 'heat.engine.cfn.functions.GetAtt'>, 'Fn::FindInMap': <class 'heat.engine.cfn.functions.FindInMap'>, 'Fn::Base64': <class 'heat.engine.cfn.functions.Base64'>, 'Ref': <function Ref at 0x7fbe6a6232a8>, 'Fn::Join': <class 'heat.engine.cfn.functions.Join'>, 'Fn::Select': <class 'heat.engine.cfn.functions.Select'>}
-
get_section_name(section)[source]
-
param_schemata(param_defaults=None)[source]
-
parameters(stack_identifier, user_params, param_defaults=None)[source]
-
resource_definitions(stack)[source]