Documentation ¶
Overview ¶
* Copyright 2016 Adobe Systems Incorporated. All rights reserved. * This file is licensed to you under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. You may obtain a copy * of the License at http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software distributed under * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS * OF ANY KIND, either express or implied. See the License for the specific language * governing permissions and limitations under the License.
* Copyright 2016 Adobe Systems Incorporated. All rights reserved. * This file is licensed to you under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. You may obtain a copy * of the License at http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software distributed under * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS * OF ANY KIND, either express or implied. See the License for the specific language * governing permissions and limitations under the License.
Index ¶
- func CreateStack(client *cfnlib.CloudFormation, stackName string, cfnTemplateUrl string, ...) (string, error)
- func DeleteStack(client *cfnlib.CloudFormation, stackName string) error
- func DescribeStack(client *cfnlib.CloudFormation, stackName ...string) (*cfnlib.DescribeStacksOutput, error)
- func DescribeStackResource(client *cfnlib.CloudFormation, stackName string, logicalID string) (string, error)
- func New(config *session.Session) *cfnlib.CloudFormation
- func UpdateStack(client *cfnlib.CloudFormation, stackName string, cfnTemplateUrl string, ...) error
- type StackEventByTime
- type StackEventState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateStack ¶
func CreateStack(client *cfnlib.CloudFormation, stackName string, cfnTemplateUrl string, parameters []*cfnlib.Parameter) (string, error)
CreateStack using AWS http://docs.aws.amazon.com/sdk-for-go/api/service/cloudformation/CloudFormation.html#CreateStack-instance_method
func DeleteStack ¶
func DeleteStack(client *cfnlib.CloudFormation, stackName string) error
func DescribeStack ¶
func DescribeStack(client *cfnlib.CloudFormation, stackName ...string) (*cfnlib.DescribeStacksOutput, error)
DescribeStack using http://docs.aws.amazon.com/sdk-for-go/api/service/cloudformation/CloudFormation.html#DescribeStacks-instance_method
func DescribeStackResource ¶
func DescribeStackResource(client *cfnlib.CloudFormation, stackName string, logicalID string) (string, error)
DescribeStackResource using AWS http://docs.aws.amazon.com/sdk-for-go/api/service/cloudformation/CloudFormation.html#DescribeStackResource-instance_method
func New ¶
func New(config *session.Session) *cfnlib.CloudFormation
Don't force clients of this package to import "github.com/aws/aws-sdk-go/service/cloudformation"
func UpdateStack ¶
Types ¶
type StackEventByTime ¶
type StackEventByTime []*cfnlib.StackEvent
func (StackEventByTime) Len ¶
func (a StackEventByTime) Len() int
func (StackEventByTime) Less ¶
func (a StackEventByTime) Less(i, j int) bool
func (StackEventByTime) Swap ¶
func (a StackEventByTime) Swap(i, j int)
type StackEventState ¶
type StackEventState struct {
// contains filtered or unexported fields
}
StackEventState keeps the state needed for multiple calls to DescribeStackEvents
func NewStackEventState ¶
func NewStackEventState(client *cfnlib.CloudFormation, stackName string) *StackEventState
func (*StackEventState) DescribeStackEvents ¶
func (recv *StackEventState) DescribeStackEvents() ([]*cfnlib.StackEvent, error)