package cloudformationinclude import ( "github.com/aws/aws-cdk-go/awscdk/v2" ) // The type returned from `CfnInclude.getNestedStack`. Contains both the NestedStack object and CfnInclude representations of the child stack. // // Example: // var parentTemplate cfnInclude // // // includedChildStack := parentTemplate.GetNestedStack(jsii.String("ChildStack")) // childStack := includedChildStack.Stack // childTemplate := includedChildStack.IncludedTemplate // type IncludedNestedStack struct { // The CfnInclude that represents the template, which can be used to access Resources and other template elements. IncludedTemplate CfnInclude `field:"required" json:"includedTemplate" yaml:"includedTemplate"` // The NestedStack object which represents the scope of the template. Stack awscdk.NestedStack `field:"required" json:"stack" yaml:"stack"` }