Documentation
¶
Index ¶
- func CreateChangeSet(template cfn.Template, params []cloudformation.Parameter, ...) (string, client.Error)
- func DeleteChangeSet(stackName, changeSetName string) client.Error
- func DeleteStack(stackName string) client.Error
- func ExecuteChangeSet(stackName, changeSetName string) client.Error
- func GetChangeSet(stackName, changeSetName string) (*cloudformation.DescribeChangeSetResponse, client.Error)
- func GetStack(stackName string) (cloudformation.Stack, client.Error)
- func GetStackEvents(stackName string) ([]cloudformation.StackEvent, client.Error)
- func GetStackResources(stackName string) ([]cloudformation.StackResource, client.Error)
- func GetStackTemplate(stackName string, processed bool) (string, client.Error)
- func ListStacks() ([]cloudformation.StackSummary, client.Error)
- func SetTerminationProtection(stackName string, protectionEnabled bool) client.Error
- func StackExists(stackName string) (bool, client.Error)
- func WaitUntilStackCreateComplete(stackName string) client.Error
- func WaitUntilStackExists(stackName string) client.Error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateChangeSet ¶ added in v0.7.0
func CreateChangeSet(template cfn.Template, params []cloudformation.Parameter, tags map[string]string, stackName string) (string, client.Error)
CreateChangeSet creates a changeset
func DeleteChangeSet ¶ added in v0.7.0
DeleteChangeSet deletes the named changeset
func ExecuteChangeSet ¶ added in v0.7.0
ExecuteChangeSet executes the named changeset
func GetChangeSet ¶ added in v0.7.0
func GetChangeSet(stackName, changeSetName string) (*cloudformation.DescribeChangeSetResponse, client.Error)
GetChangeSet returns the named changeset
func GetStack ¶
func GetStack(stackName string) (cloudformation.Stack, client.Error)
GetStack returns a cloudformation.Stack representing the named stack
func GetStackEvents ¶ added in v0.3.0
func GetStackEvents(stackName string) ([]cloudformation.StackEvent, client.Error)
GetStackEvents returns all events associated with the named stack
func GetStackResources ¶
func GetStackResources(stackName string) ([]cloudformation.StackResource, client.Error)
GetStackResources returns a list of the resources in the named stack
func GetStackTemplate ¶
GetStackTemplate returns the template used to launch the named stack
func ListStacks ¶
func ListStacks() ([]cloudformation.StackSummary, client.Error)
ListStacks returns a list of all existing stacks
func SetTerminationProtection ¶ added in v0.8.0
SetTerminationProtection enables or disables termination protection for a stack
func StackExists ¶
StackExists checks whether the named stack currently exists
func WaitUntilStackCreateComplete ¶
WaitUntilStackCreateComplete pauses execution until the stack is completed (or fails)
func WaitUntilStackExists ¶
WaitUntilStackExists pauses execution until the named stack exists
Types ¶
This section is empty.