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 ¶
- type Cloudformation
- type Export
- type ExportImpl
- type Output
- type OutputImpl
- type Parameter
- type ParameterImpl
- func (rcv *ParameterImpl) GetAllowedPattern() *string
- func (rcv *ParameterImpl) GetAllowedValues() *[]string
- func (rcv *ParameterImpl) GetConstraintDescription() *string
- func (rcv *ParameterImpl) GetDefault() *string
- func (rcv *ParameterImpl) GetDescription() *string
- func (rcv *ParameterImpl) GetMaxLength() *int
- func (rcv *ParameterImpl) GetMaxValue() *float64
- func (rcv *ParameterImpl) GetMinLength() *int
- func (rcv *ParameterImpl) GetMinValue() *float64
- func (rcv *ParameterImpl) GetNoEcho() *bool
- func (rcv *ParameterImpl) GetType() string
- type Resource
- type ResourceImpl
- func (rcv *ResourceImpl) GetCondition() *string
- func (rcv *ResourceImpl) GetCreationPolicy() *map[any]any
- func (rcv *ResourceImpl) GetDeletionPolicy() *string
- func (rcv *ResourceImpl) GetDependsOn() *[]string
- func (rcv *ResourceImpl) GetMetadata() *pkl.Object
- func (rcv *ResourceImpl) GetProperties() *any
- func (rcv *ResourceImpl) GetType() string
- func (rcv *ResourceImpl) GetUpdatePolicy() *map[any]any
- func (rcv *ResourceImpl) GetUpdateReplacePolicy() *string
- type Rule
- type RuleAssertion
- type RuleAssertionImpl
- type RuleImpl
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 ExportImpl ¶
type ExportImpl struct {
Name any `pkl:"Name"`
}
A stack Output exported value
func (*ExportImpl) GetName ¶
func (rcv *ExportImpl) GetName() any
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 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 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 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