interface IncludedNestedStack
Language | Type name |
---|---|
.NET | Amazon.CDK.CloudFormation.Include.IncludedNestedStack |
Go | github.com/aws/aws-cdk-go/awscdk/v2/cloudformationinclude#IncludedNestedStack |
Java | software.amazon.awscdk.cloudformation.include.IncludedNestedStack |
Python | aws_cdk.cloudformation_include.IncludedNestedStack |
TypeScript (source) | aws-cdk-lib » cloudformation_include » IncludedNestedStack |
Obtainable from
Cfn
.getNestedStack()
, Cfn
.loadNestedStack()
The type returned from CfnInclude.getNestedStack
. Contains both the NestedStack object and CfnInclude representations of the child stack.
Example
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
Name | Type | Description |
---|---|---|
included | Cfn | The CfnInclude that represents the template, which can be used to access Resources and other template elements. |
stack | Nested | The NestedStack object which represents the scope of the template. |
includedTemplate
Type:
Cfn
The CfnInclude that represents the template, which can be used to access Resources and other template elements.
stack
Type:
Nested
The NestedStack object which represents the scope of the template.