diff --git a/cloudformation/template.go b/cloudformation/template.go index 9e476d621c..a99dac9708 100644 --- a/cloudformation/template.go +++ b/cloudformation/template.go @@ -23,6 +23,20 @@ type Template struct { Outputs map[string]interface{} `json:"Outputs,omitempty"` } +type Parameter struct { + Type string `json:"Type"` + Description string `json:"Description,omitempty"` + Default string `json:"Default,omitempty"` + AllowedPattern string `json:"AllowedPattern,omitempty"` + AllowedValues []string `json:"AllowedValues,omitempty"` + ConstraintDescription string `json:"ConstraintDescription,omitempty"` + MaxLength int `json:"MaxLength,omitempty"` + MinLength int `json:"MinLength,omitempty"` + MaxValue float64 `json:"MaxValue,omitempty"` + MinValue float64 `json:"MinValue,omitempty"` + NoEcho bool `json:"NoEcho,omitempty"` +} + type Resource interface { AWSCloudFormationType() string }