cloudformation

package
v1.8.6 Latest Latest
Warning

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

Go to latest
Published: May 2, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Code generated from Pkl module `cloudformation`. DO NOT EDIT.

Code generated from Pkl module `cloudformation`. DO NOT EDIT.

Code generated from Pkl module `cloudformation`. DO NOT EDIT.

Code generated from Pkl module `cloudformation`. DO NOT EDIT.

Code generated from Pkl module `cloudformation`. DO NOT EDIT.

Code generated from Pkl module `cloudformation`. DO NOT EDIT.

Code generated from Pkl module `cloudformation`. DO NOT EDIT.

Code generated from Pkl module `cloudformation`. DO NOT EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cloudformation

type Cloudformation struct {
}

func Load

func Load(ctx context.Context, evaluator pkl.Evaluator, source *pkl.ModuleSource) (*Cloudformation, error)

Load loads the pkl module at the given source and evaluates it with the given evaluator into a Cloudformation

func LoadFromPath

func LoadFromPath(ctx context.Context, path string) (ret *Cloudformation, err error)

LoadFromPath loads the pkl module at the given path and evaluates it into a Cloudformation

type Export

type Export interface {
	GetName() any
}

type ExportImpl

type ExportImpl struct {
	Name any `pkl:"Name"`
}

A stack Output exported value

func (*ExportImpl) GetName

func (rcv *ExportImpl) GetName() any

type Output

type Output interface {
	GetDescription() *any

	GetValue() any

	GetExport() *Export
}

type OutputImpl

type OutputImpl struct {
	Description *any `pkl:"Description"`

	Value any `pkl:"Value"`

	Export *Export `pkl:"Export"`
}

A stack output value

func (*OutputImpl) GetDescription

func (rcv *OutputImpl) GetDescription() *any

func (*OutputImpl) GetExport

func (rcv *OutputImpl) GetExport() *Export

func (*OutputImpl) GetValue

func (rcv *OutputImpl) GetValue() any

type Parameter

type Parameter interface {
	GetType() string

	GetDefault() *string

	GetAllowedValues() *[]string

	GetDescription() *string

	GetAllowedPattern() *string

	GetConstraintDescription() *string

	GetMaxLength() *int

	GetMaxValue() *float64

	GetMinLength() *int

	GetMinValue() *float64

	GetNoEcho() *bool
}

type ParameterImpl

type ParameterImpl struct {
	Type string `pkl:"Type"`

	Default *string `pkl:"Default"`

	AllowedValues *[]string `pkl:"AllowedValues"`

	Description *string `pkl:"Description"`

	AllowedPattern *string `pkl:"AllowedPattern"`

	ConstraintDescription *string `pkl:"ConstraintDescription"`

	MaxLength *int `pkl:"MaxLength"`

	MaxValue *float64 `pkl:"MaxValue"`

	MinLength *int `pkl:"MinLength"`

	MinValue *float64 `pkl:"MinValue"`

	NoEcho *bool `pkl:"NoEcho"`
}

A CloudFormation Parameter

func (*ParameterImpl) GetAllowedPattern

func (rcv *ParameterImpl) GetAllowedPattern() *string

func (*ParameterImpl) GetAllowedValues

func (rcv *ParameterImpl) GetAllowedValues() *[]string

func (*ParameterImpl) GetConstraintDescription

func (rcv *ParameterImpl) GetConstraintDescription() *string

func (*ParameterImpl) GetDefault

func (rcv *ParameterImpl) GetDefault() *string

func (*ParameterImpl) GetDescription

func (rcv *ParameterImpl) GetDescription() *string

func (*ParameterImpl) GetMaxLength

func (rcv *ParameterImpl) GetMaxLength() *int

func (*ParameterImpl) GetMaxValue

func (rcv *ParameterImpl) GetMaxValue() *float64

func (*ParameterImpl) GetMinLength

func (rcv *ParameterImpl) GetMinLength() *int

func (*ParameterImpl) GetMinValue

func (rcv *ParameterImpl) GetMinValue() *float64

func (*ParameterImpl) GetNoEcho

func (rcv *ParameterImpl) GetNoEcho() *bool

func (*ParameterImpl) GetType

func (rcv *ParameterImpl) GetType() string

type Resource

type Resource interface {
	GetType() string

	GetProperties() *any

	GetCreationPolicy() *map[any]any

	GetDeletionPolicy() *string

	GetDependsOn() *[]string

	GetMetadata() *pkl.Object

	GetUpdatePolicy() *map[any]any

	GetUpdateReplacePolicy() *string

	GetCondition() *string
}

type ResourceImpl

type ResourceImpl struct {
	Type string `pkl:"Type"`

	Properties *any `pkl:"Properties"`

	CreationPolicy *map[any]any `pkl:"CreationPolicy"`

	DeletionPolicy *string `pkl:"DeletionPolicy"`

	DependsOn *[]string `pkl:"DependsOn"`

	Metadata *pkl.Object `pkl:"Metadata"`

	UpdatePolicy *map[any]any `pkl:"UpdatePolicy"`

	UpdateReplacePolicy *string `pkl:"UpdateReplacePolicy"`

	Condition *string `pkl:"Condition"`
}

A CloudFormation resource.

Note that in subclasses of Resource, properties are elevated to the top level, so we have to rename any properties that conflict with resource attribute names such as `Type` and `DependsOn`.

Any property that conflicts will be suffixed with `Property`.

func (*ResourceImpl) GetCondition

func (rcv *ResourceImpl) GetCondition() *string

func (*ResourceImpl) GetCreationPolicy

func (rcv *ResourceImpl) GetCreationPolicy() *map[any]any

func (*ResourceImpl) GetDeletionPolicy

func (rcv *ResourceImpl) GetDeletionPolicy() *string

func (*ResourceImpl) GetDependsOn

func (rcv *ResourceImpl) GetDependsOn() *[]string

func (*ResourceImpl) GetMetadata

func (rcv *ResourceImpl) GetMetadata() *pkl.Object

func (*ResourceImpl) GetProperties

func (rcv *ResourceImpl) GetProperties() *any

func (*ResourceImpl) GetType

func (rcv *ResourceImpl) GetType() string

func (*ResourceImpl) GetUpdatePolicy

func (rcv *ResourceImpl) GetUpdatePolicy() *map[any]any

func (*ResourceImpl) GetUpdateReplacePolicy

func (rcv *ResourceImpl) GetUpdateReplacePolicy() *string

type Rule

type Rule interface {
	GetRuleCondition() *map[any]any

	GetAssertions() []RuleAssertion
}

type RuleAssertion

type RuleAssertion interface {
	GetAssert() map[any]any

	GetAssertDescription() *any
}

type RuleAssertionImpl

type RuleAssertionImpl struct {
	Assert map[any]any `pkl:"Assert"`

	AssertDescription *any `pkl:"AssertDescription"`
}

A Rule assertion, which is an element of a Rule

func (*RuleAssertionImpl) GetAssert

func (rcv *RuleAssertionImpl) GetAssert() map[any]any

func (*RuleAssertionImpl) GetAssertDescription

func (rcv *RuleAssertionImpl) GetAssertDescription() *any

type RuleImpl

type RuleImpl struct {
	RuleCondition *map[any]any `pkl:"RuleCondition"`

	Assertions []RuleAssertion `pkl:"Assertions"`
}

A Rule, which is a set of assertions that can be made on Parameters

func (*RuleImpl) GetAssertions

func (rcv *RuleImpl) GetAssertions() []RuleAssertion

func (*RuleImpl) GetRuleCondition

func (rcv *RuleImpl) GetRuleCondition() *map[any]any

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL