Documentation
¶
Overview ¶
Package cfn provides the Template type that models a CloudFormation template.
The sub-packages of cfn contain various tools for working with templates
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Element ¶
type Element struct {
// Name is the name of the element
Name string
// Type is the name of the top-level part of a CloudFormation
// that contains this Element (e.g. Resources, Parameters)
Type string
}
Element represents a top-level entry in a CloudFormation template for example a resource, parameter, or output
type Template ¶
type Template map[string]interface{}
Template represents a CloudFormation template. The Template type is minimal for now but will likely grow new features as needed by rain.
func (Template) Diff ¶
Diff returns a Diff object representing the difference between this template and the template passed to Diff
Directories
¶
| Path | Synopsis |
|---|---|
|
Package diff provides the Diff class that can be used to compare CloudFormation templates
|
Package diff provides the Diff class that can be used to compare CloudFormation templates |
|
Package format provides functions for formatting the types found in the cfn package.
|
Package format provides functions for formatting the types found in the cfn package. |
|
Package graph provides an implement of cfn.Graph and can be used to graph dependencies between elements of a CloudFormation template
|
Package graph provides an implement of cfn.Graph and can be used to graph dependencies between elements of a CloudFormation template |
|
Package parse provides functions for parsing CloudFormation templates from JSON and YAML inputs.
|
Package parse provides functions for parsing CloudFormation templates from JSON and YAML inputs. |
|
Package value provides a Value type that can be used to contain structured data of any type and comments that reference elements within it.
|
Package value provides a Value type that can be used to contain structured data of any type and comments that reference elements within it. |
Click to show internal directories.
Click to hide internal directories.