Skip to content

Commit

Permalink
doc: fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
crewjam committed Nov 29, 2015
1 parent 8b0dd54 commit 075a64c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cloudformation.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
// Default: "example.com",
// Description: "the top level DNS name for the service"
// }
// t.AddResource("DataBucket", &AWSS3Bucket{
// t.AddResource("DataBucket", &S3Bucket{
// BucketName: Join("-", *String("data"), *Ref("DnsName").String())
// })
// json.NewEncoder(os.Stdout).Encoder(t)
Expand All @@ -37,13 +37,13 @@
// Top level objects in Cloudformation are called resources. They have
// names like AWS::S3::Bucket and appear as values in the "Resources"
// mapping. We remove the punctuation from the name to derive a golang
// structure name like AWSS3Bucket.
// structure name like S3Bucket.
//
// There other non-resource structures that are refered to either by
// resources or by other structures. These objects have names with
// spaces like "Amazon S3 Versioning Configuration". To derive a golang
// type name the non-letter characters are removed to get
// AmazonS3VersioningConfiguration.
// S3VersioningConfiguration.
//
// Type System
//
Expand Down

0 comments on commit 075a64c

Please sign in to comment.