Documentation ¶
Overview ¶
Package godeploycfn allows deployment of a Cloudformation template to be a bit easier
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateLogicalName ¶
CreateLogicalName creates a logical name used in the CloudFormation template.
func CreateStackName ¶
CreateStackName creates a valid stack name from the given alarm name.
Types ¶
type Cloudformation ¶
type Cloudformation struct { CFClient cloudformationiface.CloudFormationAPI StackName string LogrusEntry *logrus.Entry }
Cloudformation is a utility wrapper around the original aws api to make common operations more intuitive.
func (*Cloudformation) CloudFormationDeploy ¶
func (c *Cloudformation) CloudFormationDeploy(templateBody string, namedIAM bool) error
CloudFormationDeploy deploys the given Cloudformation Template to the given Cloudformation Stack.
type CloudformationAPI ¶
CloudformationAPI provides an API which can be used instead of a concrete client for testing/mocking purposes.
Click to show internal directories.
Click to hide internal directories.