Class IncludedNestedStack
The type returned from CfnInclude.getNestedStack
. Contains both the NestedStack object and CfnInclude representations of the child stack.
Inheritance
System.Object
IncludedNestedStack
Implements
Namespace: Amazon.CDK.CloudFormation.Include
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class IncludedNestedStack : Object, IIncludedNestedStack
Syntax (vb)
Public Class IncludedNestedStack
Inherits Object
Implements IIncludedNestedStack
Remarks
ExampleMetadata: infused
Examples
CfnInclude parentTemplate;
var includedChildStack = parentTemplate.GetNestedStack("ChildStack");
var childStack = includedChildStack.Stack;
var childTemplate = includedChildStack.IncludedTemplate;
Synopsis
Constructors
IncludedNestedStack() |
Properties
IncludedTemplate | The CfnInclude that represents the template, which can be used to access Resources and other template elements. |
Stack | The NestedStack object which represents the scope of the template. |
Constructors
IncludedNestedStack()
public IncludedNestedStack()
Properties
IncludedTemplate
The CfnInclude that represents the template, which can be used to access Resources and other template elements.
public CfnInclude IncludedTemplate { get; set; }
Property Value
Stack
The NestedStack object which represents the scope of the template.
public NestedStack Stack { get; set; }
Property Value