Class NestedStackProps
(deprecated) Initialization props for the NestedStack
construct.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.CloudFormation
Assembly: Amazon.CDK.AWS.CloudFormation.dll
Syntax (csharp)
public class NestedStackProps : Object, INestedStackProps
Syntax (vb)
Public Class NestedStackProps
Inherits Object
Implements INestedStackProps
Remarks
Stability: Deprecated
ExampleMetadata: infused
Examples
class MyNestedStack : NestedStack
{
public MyNestedStack(Construct scope, string id, NestedStackProps? props=null) : base(scope, id, props)
{
new Bucket(this, "NestedBucket");
}
}
class MyParentStack : Stack
{
public MyParentStack(Construct scope, string id, StackProps? props=null) : base(scope, id, props)
{
new MyNestedStack(this, "Nested1");
new MyNestedStack(this, "Nested2");
}
}
Synopsis
Constructors
NestedStackProps() |
Properties
Notifications | (deprecated) The Simple Notification Service (SNS) topics to publish stack related events. |
Parameters | (deprecated) The set value pairs that represent the parameters passed to CloudFormation when this nested stack is created. |
Timeout | (deprecated) The length of time that CloudFormation waits for the nested stack to reach the CREATE_COMPLETE state. |
Constructors
NestedStackProps()
public NestedStackProps()
Properties
Notifications
(deprecated) The Simple Notification Service (SNS) topics to publish stack related events.
public ITopic[] Notifications { get; set; }
Property Value
ITopic[]
Remarks
Default: - notifications are not sent for this stack.
Stability: Deprecated
Parameters
(deprecated) The set value pairs that represent the parameters passed to CloudFormation when this nested stack is created.
public IDictionary<string, string> Parameters { get; set; }
Property Value
System.Collections.Generic.IDictionary<System.String, System.String>
Remarks
Each parameter has a name corresponding to a parameter defined in the embedded template and a value representing the value that you want to set for the parameter.
The nested stack construct will automatically synthesize parameters in order to bind references from the parent stack(s) into the nested stack.
Default: - no user-defined parameters are passed to the nested stack
Stability: Deprecated
Timeout
(deprecated) The length of time that CloudFormation waits for the nested stack to reach the CREATE_COMPLETE state.
public Duration Timeout { get; set; }
Property Value
Remarks
When CloudFormation detects that the nested stack has reached the CREATE_COMPLETE state, it marks the nested stack resource as CREATE_COMPLETE in the parent stack and resumes creating the parent stack. If the timeout period expires before the nested stack reaches CREATE_COMPLETE, CloudFormation marks the nested stack as failed and rolls back both the nested stack and parent stack.
Default: - no timeout
Stability: Deprecated