Documentation ¶
Index ¶
- func CreateChangeSet(template cft.Template, params []*types.Parameter, tags map[string]string, ...) (string, error)
- func DeleteChangeSet(stackName, changeSetName string) error
- func DeleteStack(stackName string) error
- func ExecuteChangeSet(stackName, changeSetName string) error
- func GetChangeSet(stackName, changeSetName string) (*cloudformation.DescribeChangeSetOutput, error)
- func GetStack(stackName string) (*types.Stack, error)
- func GetStackEvents(stackName string) ([]*types.StackEvent, error)
- func GetStackResources(stackName string) ([]*types.StackResource, error)
- func GetStackTemplate(stackName string, processed bool) (string, error)
- func ListStacks() ([]*types.StackSummary, error)
- func SetTerminationProtection(stackName string, protectionEnabled bool) error
- func StackExists(stackName string) (bool, error)
- func WaitUntilStackCreateComplete(stackName string) error
- func WaitUntilStackExists(stackName string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateChangeSet ¶
func CreateChangeSet(template cft.Template, params []*types.Parameter, tags map[string]string, stackName string) (string, error)
CreateChangeSet creates a changeset
func DeleteChangeSet ¶
DeleteChangeSet deletes the named changeset
func ExecuteChangeSet ¶
ExecuteChangeSet executes the named changeset
func GetChangeSet ¶
func GetChangeSet(stackName, changeSetName string) (*cloudformation.DescribeChangeSetOutput, error)
GetChangeSet returns the named changeset
func GetStackEvents ¶
func GetStackEvents(stackName string) ([]*types.StackEvent, error)
GetStackEvents returns all events associated with the named stack
func GetStackResources ¶
func GetStackResources(stackName string) ([]*types.StackResource, 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() ([]*types.StackSummary, error)
ListStacks returns a list of all existing stacks
func SetTerminationProtection ¶
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.