The heat.api.cfn.v1.stacks ModuleΒΆ

Stack endpoint for Heat CloudFormation v1 API.

class heat.api.cfn.v1.stacks.StackController(options)[source]

Bases: object

WSGI controller for stacks resource in Heat CloudFormation v1 API Implements the API actions

StackController.CREATE_OR_UPDATE_ACTION = ('CreateStack', 'UpdateStack')
StackController.CREATE_STACK = 'CreateStack'
StackController.UPDATE_STACK = 'UpdateStack'
StackController.cancel_update(req)[source]
StackController.create(req)[source]
StackController.create_or_update(req, action=None)[source]

Implements CreateStack and UpdateStack API actions. Create or update stack as defined in template file.

StackController.delete(req)[source]

Implements the DeleteStack API action. Deletes the specified stack.

StackController.describe(req)[source]

Implements DescribeStacks API action Gets detailed information for a stack (or all stacks)

StackController.describe_stack_resource(req)[source]

Implements the DescribeStackResource API action. Return the details of the given resource belonging to the given stack.

StackController.describe_stack_resources(req)[source]

Implements the DescribeStackResources API action Return details of resources specified by the parameters.

StackName: returns all resources belonging to the stack.

PhysicalResourceId: returns all resources belonging to the stack this resource is associated with.

Only one of the parameters may be specified.

Optional parameter:

LogicalResourceId: filter the resources list by the logical resource id.

StackController.estimate_template_cost(req)[source]

Implements the EstimateTemplateCost API action Get the estimated monthly cost of a template

StackController.events_list(req)[source]

Implements the DescribeStackEvents API action. Returns events related to a specified stack (or all stacks).

StackController.get_template(req)[source]

Implements the GetTemplate API action. Get the template body for an existing stack.

StackController.list(req)[source]

Implements ListStacks API action Lists summary information for all stacks

StackController.list_stack_resources(req)[source]

Implements the ListStackResources API action Return summary of the resources belonging to the specified stack.

StackController.update(req)[source]
StackController.validate_template(req)[source]

Implements the ValidateTemplate API action. Validates the specified template.

heat.api.cfn.v1.stacks.create_resource(options)[source]

Stacks resource factory method.

Previous topic

The heat.api.cfn.versions Module

Next topic

The heat.api.cfn.v1 Module

This Page