Documentation
¶
Overview ¶
Package parse provides functions for parsing CloudFormation templates from JSON and YAML inputs.
Example ¶
package main
import (
"fmt"
"github.com/aws-cloudformation/rain/cfn/parse"
)
func main() {
template, _ := parse.String(`
Resources:
Bucket:
Type: AWS::S3::Bucket
`)
fmt.Println(template.Map())
}
Output: map[Resources:map[Bucket:map[Type:AWS::S3::Bucket]]]
Index ¶
Examples ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.