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 Error ¶ added in v0.8.1
type Error struct {
// contains filtered or unexported fields
}
Error holds errors messages pertaining to a cfn.Template
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) Check ¶ added in v0.8.0
Check validates a cfn.Template against the cloudformation spec
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 spec contains generated models for CloudFormation and IAM
|
Package spec contains generated models for CloudFormation and IAM |
Package value provides types that can be used to represent structured data that include comments
|
Package value provides types that can be used to represent structured data that include comments |