awsapi

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: 1 Imported by: 2

Documentation

Overview

Package awsapi contains interface with all functions which use AWS CloudFormation API.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AWSCloudFormationAPI

type AWSCloudFormationAPI struct {
	// contains filtered or unexported fields
}

AWSCloudFormationAPI implements CLoudFormationAPI.

func (*AWSCloudFormationAPI) CreateChangeSet

CreateChangeSet creates ChangeSet.

func (*AWSCloudFormationAPI) CreateStack

CreateStack creates stack based on user template.

func (*AWSCloudFormationAPI) DeleteChangeSet

DeleteChangeSet removes ChangeSet.

func (*AWSCloudFormationAPI) DeleteStack

DeleteStack destroys template based on stack name.

func (*AWSCloudFormationAPI) DescribeChangeSet

DescribeChangeSet returns the inputs and a list of changes.

func (*AWSCloudFormationAPI) EstimateTemplateCost

EstimateTemplateCost shows stack cost.

func (*AWSCloudFormationAPI) SetStackPolicy

SetStackPolicy sets policy based on template or flag.

func (*AWSCloudFormationAPI) UpdateStack

UpdateStack updates stack template.

func (*AWSCloudFormationAPI) UpdateTerminationProtection

UpdateTerminationProtection allows to change stack protection from termination.

func (*AWSCloudFormationAPI) ValidateTemplate

ValidateTemplate checks template correctness.

func (*AWSCloudFormationAPI) WaitUntilChangeSetCreateComplete

func (cf *AWSCloudFormationAPI) WaitUntilChangeSetCreateComplete(input *cloudformation.DescribeChangeSetInput) error

WaitUntilChangeSetCreateComplete uses the AWS CloudFormation API operation DescribeChangeSet to wait for a condition to be met before returning. If the condition is not met within the max attempt window, an error will be returned.

type CloudFormationAPI

CloudFormationAPI collects all functions which using Cloudformation, e.g creating stack.

func NewAWSCloudFormation

func NewAWSCloudFormation(api *cloudformation.CloudFormation) CloudFormationAPI

NewAWSCloudFormation creates CloudFormationAPI.

Jump to

Keyboard shortcuts

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