Skip to content
v2.274.0

IncludedNestedStack Struct ​

The type returned from CfnInclude.getNestedStack. Contains both the NestedStack object and CfnInclude representations of the child stack.

Example ​

ts
declare const parentTemplate: cfn_inc.CfnInclude;

const includedChildStack = parentTemplate.getNestedStack('ChildStack');
const childStack: core.NestedStack = includedChildStack.stack;
const childTemplate: cfn_inc.CfnInclude = includedChildStack.includedTemplate;

Properties ​

includedTemplateCfnIncludeincluded_templateCfnIncludeincludedTemplateCfnIncludeIncludedTemplateCfnIncludeIncludedTemplateCfnIncluderequired#
The CfnInclude that represents the template, which can be used to access Resources and other template elements.
The NestedStack object which represents the scope of the template.