Interface NestedStackProps

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
NestedStackProps.Jsii$Proxy

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:41.613Z") @Stability(Deprecated) @Deprecated public interface NestedStackProps extends software.amazon.jsii.JsiiSerializable
Deprecated.
use core.NestedStackProps instead
(deprecated) Initialization props for the NestedStack construct.

Example:

 public class MyNestedStack extends NestedStack {
     public MyNestedStack(Construct scope, String id) {
         this(scope, id, null);
     }
     public MyNestedStack(Construct scope, String id, NestedStackProps props) {
         super(scope, id, props);
         new Bucket(this, "NestedBucket");
     }
 }
 public class MyParentStack extends Stack {
     public MyParentStack(Construct scope, String id) {
         this(scope, id, null);
     }
     public MyParentStack(Construct scope, String id, StackProps props) {
         super(scope, id, props);
         new MyNestedStack(this, "Nested1");
         new MyNestedStack(this, "Nested2");
     }
 }
 

  • Method Details

    • getNotifications

      @Stability(Deprecated) @Deprecated @Nullable default List<ITopic> getNotifications()
      Deprecated.
      (deprecated) The Simple Notification Service (SNS) topics to publish stack related events.

      Default: - notifications are not sent for this stack.

    • getParameters

      @Stability(Deprecated) @Deprecated @Nullable default Map<String,String> getParameters()
      Deprecated.
      (deprecated) The set value pairs that represent the parameters passed to CloudFormation when this nested stack is created.

      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

    • getTimeout

      @Stability(Deprecated) @Deprecated @Nullable default Duration getTimeout()
      Deprecated.
      (deprecated) The length of time that CloudFormation waits for the nested stack to reach the CREATE_COMPLETE state.

      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

    • builder

      @Stability(Deprecated) @Deprecated static NestedStackProps.Builder builder()
      Deprecated.
      Returns:
      a NestedStackProps.Builder of NestedStackProps