Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Match_AbsentProperty ¶
func Match_AbsentProperty() *string
Use this matcher in the place of a field's value, if the field must not be present. Experimental.
Types ¶
type Match ¶
type Match interface { }
Partial and special matching during template assertions. Experimental.
type TemplateAssertions ¶
type TemplateAssertions interface { HasResourceDefinition(type_ *string, props interface{}) HasResourceProperties(type_ *string, props interface{}) ResourceCountIs(type_ *string, count *float64) TemplateMatches(expected *map[string]interface{}) }
Suite of assertions that can be run on a CDK stack.
Typically used, as part of unit tests, to validate that the rendered CloudFormation template has expected resources and properties. Experimental.
func TemplateAssertions_FromStack ¶
func TemplateAssertions_FromStack(stack awscdk.Stack) TemplateAssertions
Base your assertions on the CloudFormation template synthesized by a CDK `Stack`. Experimental.
func TemplateAssertions_FromString ¶
func TemplateAssertions_FromString(template *string) TemplateAssertions
Base your assertions from an existing CloudFormation template formatted as a string. Experimental.
func TemplateAssertions_FromTemplate ¶
func TemplateAssertions_FromTemplate(template *map[string]interface{}) TemplateAssertions
Base your assertions from an existing CloudFormation template formatted as a nested set of records. Experimental.