Namespace: stack-manager

stack-manager

Source:

Methods

(static) create(templatePath, capabilityopt, regionopt) → {Promise}

Creates a Cloudformation stack
Parameters:
Name Type Attributes Description
templatePath String The path to your Cloudformation template.
capability String <optional>
Capability to specify when creating your stack. Defaults to 'CAPABILITY_IAM'. All capabilities can be found here.
region String <optional>
The region to create the Cloudformation stack in. Defaults to eu-west-1.
Source:
Returns:
Resolves when the stack enters the CREATE_COMPLETE state.
Type
Promise

(static) delete(templatePath, regionopt) → {Promise}

Deletes a Cloudformation stack
Parameters:
Name Type Attributes Description
templatePath String The path to your Cloudformation template.
region String <optional>
The region where the Cloudformation stack is. Defaults to eu-west-1.
Source:
Returns:
Resolves when the stack enters the DELETE_COMPLETE state.
Type
Promise

(static) update(templatePath, capabilityopt, regionopt) → {Promise}

Updates a Cloudformation stack
Parameters:
Name Type Attributes Description
templatePath String The path to your Cloudformation template.
capability String <optional>
Capability to specify when creating your stack. Defaults to 'CAPABILITY_IAM'. All capabilities can be found here.
region String <optional>
The region where the Cloudformation stack is. Defaults to eu-west-1.
Source:
Returns:
Resolves when the stack enters the UPDATE_COMPLETE state.
Type
Promise