Documentation
¶
Index ¶
Constants ¶
View Source
const ( // TypeEmpty flags an empty type TypeEmpty = "" // TypeMap flags a map type TypeMap = "Map" // TypeList flags a list type TypeList = "List" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Attribute ¶
type Attribute struct {
ItemType string
DuplicatesAllowed bool
PrimitiveItemType string
PrimitiveType string
Type string
}
Attribute represents an attribute of a type
type Property ¶
type Property struct {
Documentation string
DuplicatesAllowed bool
ItemType string
PrimitiveItemType string
PrimitiveType string
Required bool
Type string
UpdateType string
}
Property represents a property within a spec
type PropertyType ¶
PropertyType represents a propertytype node in the CloudFormation specification
type ResourceType ¶
type ResourceType struct {
Attributes map[string]*Attribute
Documentation string
Properties map[string]*Property
AdditionalProperties bool
}
ResourceType represents a resourcetype node in the CloudFormation specification
type Spec ¶
type Spec struct {
ResourceSpecificationVersion string
PropertyTypes map[string]*PropertyType
ResourceTypes map[string]*ResourceType
}
Spec is a representation of the CloudFormation specification document
func (Spec) ResolveResource ¶
ResolveResource returns a list of possible Resource names for the provided suffix
Click to show internal directories.
Click to hide internal directories.