cfn

package
v1.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 13, 2020 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

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

func DeleteChangeSet(stackName, changeSetName string) error

DeleteChangeSet deletes the named changeset

func DeleteStack

func DeleteStack(stackName string) error

DeleteStack deletes a stack

func ExecuteChangeSet

func ExecuteChangeSet(stackName, changeSetName string) error

ExecuteChangeSet executes the named changeset

func GetChangeSet

func GetChangeSet(stackName, changeSetName string) (*cloudformation.DescribeChangeSetOutput, error)

GetChangeSet returns the named changeset

func GetStack

func GetStack(stackName string) (*types.Stack, error)

GetStack returns a cloudformation.Stack representing the named stack

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

func GetStackTemplate(stackName string, processed bool) (string, error)

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

func SetTerminationProtection(stackName string, protectionEnabled bool) error

SetTerminationProtection enables or disables termination protection for a stack

func StackExists

func StackExists(stackName string) (bool, error)

StackExists checks whether the named stack currently exists

func WaitUntilStackCreateComplete

func WaitUntilStackCreateComplete(stackName string) error

WaitUntilStackCreateComplete pauses execution until the stack is completed (or fails)

func WaitUntilStackExists

func WaitUntilStackExists(stackName string) error

WaitUntilStackExists pauses execution until the named stack exists

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL