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.
Index ¶
- type Cloudformation
- type Parameter
- type ParameterImpl
- type Resource
- type ResourceImpl
- func (rcv *ResourceImpl) GetCreationPolicy() *map[any]any
- func (rcv *ResourceImpl) GetDeletionPolicy() *string
- func (rcv *ResourceImpl) GetDependsOn() *[]string
- func (rcv *ResourceImpl) GetMetadata() *map[any]any
- func (rcv *ResourceImpl) GetProperties() *any
- func (rcv *ResourceImpl) GetType() string
- func (rcv *ResourceImpl) GetUpdatePolicy() *map[any]any
- func (rcv *ResourceImpl) GetUpdateReplacePolicy() *string
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 ParameterImpl ¶
type ParameterImpl struct {
Type string `pkl:"Type"`
Default *string `pkl:"Default"`
AllowedValues *[]string `pkl:"AllowedValues"`
Description *string `pkl:"Description"`
}
func (*ParameterImpl) GetAllowedValues ¶
func (rcv *ParameterImpl) GetAllowedValues() *[]string
func (*ParameterImpl) GetDefault ¶
func (rcv *ParameterImpl) GetDefault() *string
func (*ParameterImpl) GetDescription ¶
func (rcv *ParameterImpl) GetDescription() *string
func (*ParameterImpl) GetType ¶
func (rcv *ParameterImpl) GetType() 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 *map[any]any `pkl:"Metadata"`
UpdatePolicy *map[any]any `pkl:"UpdatePolicy"`
UpdateReplacePolicy *string `pkl:"UpdateReplacePolicy"`
}
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) 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() *map[any]any
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