Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsInvalidConfig ¶
IsInvalidConfig asserts invalidConfigError.
func IsOutputNotFound ¶
IsOutputNotFound asserts outputNotFoundError.
func IsOutputsNotAccessible ¶
IsOutputsNotAccessible asserts outputsNotAccessibleError.
func IsStackNotFound ¶
IsStackNotFound asserts stackNotFoundError and stack not found errors from the upstream's API message.
FIXME: The validation error returned by the CloudFormation API doesn't make things easy to check, other than looking for the returned string. There's no constant in the AWS golang SDK for defining this string, it comes from the service.
func IsTooManyStacks ¶
IsTooManyStacks asserts tooManyStacksError.
Types ¶
type CloudFormation ¶
type CloudFormation struct {
// contains filtered or unexported fields
}
func New ¶
func New(config Config) (*CloudFormation, error)
func (*CloudFormation) DescribeOutputsAndStatus ¶
func (c *CloudFormation) DescribeOutputsAndStatus(stackName string) ([]*cloudformation.Output, string, error)
func (*CloudFormation) GetOutputValue ¶
func (c *CloudFormation) GetOutputValue(outputs []*cloudformation.Output, key string) (string, error)
type Config ¶
type Config struct {
Client *cloudformation.CloudFormation
}
Click to show internal directories.
Click to hide internal directories.