Documentation ¶
Overview ¶
Package stack provides methods to manage AWS CloudFormation stacks.
Index ¶
- func ApplyStackPolicy(context *context.Context) error
- func DeleteChangeSet(ctx *context.Context) (err error)
- func DestroyStack(context *context.Context) error
- func NewChangeSet(context *context.Context) (err error)
- func NewStack(context *context.Context) error
- func SetTerminationProtection(context *context.Context) error
- func UpdateStack(context *context.Context) (err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ApplyStackPolicy ¶
ApplyStackPolicy creates StackPolicy from JSON file.
func DeleteChangeSet ¶
DeleteChangeSet deletes change set.
func DestroyStack ¶
DestroyStack bases on "DeleteStackInput" structure and destroys stack. It uses "StackName" to choose which stack will be destroy. Before that it creates session.
func NewChangeSet ¶
NewChangeSet create change set and gets parameters.
func SetTerminationProtection ¶
SetTerminationProtection turn off or on stack protection from being deleted.
func UpdateStack ¶
UpdateStack prepares updateStackInput and updates stack.
Types ¶
This section is empty.
Source Files ¶
Directories ¶
Path | Synopsis |
---|---|
Package stack_mocks is a generated GoMock package.
|
Package stack_mocks is a generated GoMock package. |
Click to show internal directories.
Click to hide internal directories.