code: func filename(input string) string {
  
  	// Convert to lowercase
  	output := strings.ToLower(input)
  
  	// Replace :: with -
  	output = strings.Replace(output, "::", "-", -1)
  
  	// Replace . with _
  	output = strings.Replace(output, ".", "_", -1)
  
  	// Suffix with .go
  	output += ".go"
  
  	return output
  
  }
docs: // filename takes a resource or property name (e.g. AWS::CloudFront::Distribution.Restrictions)
  // and returns an appropriate filename for the generated struct (e.g. aws-cloudfront-distribution_restrictions.go)