stack

package
v0.0.0-...-a4d1c73 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2019 License: Apache-2.0 Imports: 11 Imported by: 1

Documentation

Overview

Package stack provides methods to manage AWS CloudFormation stacks.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ApplyStackPolicy

func ApplyStackPolicy(context *context.Context) error

ApplyStackPolicy creates StackPolicy from JSON file.

func DeleteChangeSet

func DeleteChangeSet(ctx *context.Context) (err error)

DeleteChangeSet deletes change set.

func DestroyStack

func DestroyStack(context *context.Context) error

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

func NewChangeSet(context *context.Context) (err error)

NewChangeSet create change set and gets parameters.

func NewStack

func NewStack(context *context.Context) error

NewStack create Stack. It's get template from context.CliArguments.TemplatePath.

func SetTerminationProtection

func SetTerminationProtection(context *context.Context) error

SetTerminationProtection turn off or on stack protection from being deleted.

func UpdateStack

func UpdateStack(context *context.Context) (err error)

UpdateStack prepares updateStackInput and updates stack.

Types

This section is empty.

Directories

Path Synopsis
Package stack_mocks is a generated GoMock package.
Package stack_mocks is a generated GoMock package.

Jump to

Keyboard shortcuts

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