Version: v0.0.0-...-00aa242 Latest Latest

This package is not in the latest version of its module.

Go to latest
Published: Jan 17, 2021 License: BSD-2-Clause Imports: 2 Imported by: 0




This section is empty.


This section is empty.


This section is empty.


type CloudFormationSchema

type CloudFormationSchema struct {
	PropertyTypes                map[string]PropertyTypes
	ResourceTypes                map[string]ResourceTypes
	ResourceSpecificationVersion string

CloudFormationSchema represents the root of the schema

type PropertyItemType

type PropertyItemType struct {
	Scalar      string
	MultiValues []string

PropertyItemType represents the type of a property

func (*PropertyItemType) MarshalJSON

func (piType *PropertyItemType) MarshalJSON() ([]byte, error)

MarshalJSON to handle whichever field is set

func (*PropertyItemType) UnmarshalJSON

func (piType *PropertyItemType) UnmarshalJSON(data []byte) error

UnmarshalJSON does the custom unmarshalling

type PropertyTypeDefinition

type PropertyTypeDefinition struct {
	Required          bool
	Documentation     string
	PrimitiveType     string
	UpdateType        string
	Type              PropertyItemType
	DuplicatesAllowed bool
	ItemType          string
	PrimitiveItemType string

PropertyTypeDefinition is the definition of a property

type PropertyTypes

type PropertyTypes struct {
	Documentation string
	Properties    map[string]PropertyTypeDefinition

PropertyTypes is a definition of a property

type ResourceAttribute

type ResourceAttribute struct {
	PrimitiveType string

ResourceAttribute are outputs of CloudFormation reosurce

type ResourceTypes

type ResourceTypes struct {
	Documentation string
	Attributes    map[string]ResourceAttribute
	Properties    map[string]PropertyTypeDefinition

ResourceTypes is a definition of a resource

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL