Class StackNode

    • Constructor Detail

      • StackNode

        protected StackNode​(software.amazon.jsii.JsiiObjectRef objRef)
      • StackNode

        protected StackNode​(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
      • StackNode

        @Stability(Experimental)
        public StackNode​(@NotNull
                         IStackNodeProps props)
        Parameters:
        props - This parameter is required.
    • Method Detail

      • isStackNode

        @Stability(Experimental)
        @NotNull
        public static Boolean isStackNode​(@NotNull
                                          Node node)
        (experimental) Indicates if node is a StackNode.

        Parameters:
        node - This parameter is required.
      • of

        @Stability(Experimental)
        @NotNull
        public static StackNode of​(@NotNull
                                   Node node)
        (experimental) Gets the StackNode containing a given resource.

        Parameters:
        node - This parameter is required.
      • addOutput

        @Stability(Experimental)
        public void addOutput​(@NotNull
                              OutputNode node)
        (experimental) Associate OutputNode with this stack.

        Parameters:
        node - This parameter is required.
      • addParameter

        @Stability(Experimental)
        public void addParameter​(@NotNull
                                 ParameterNode node)
        (experimental) Associate ParameterNode with this stack.

        Parameters:
        node - This parameter is required.
      • findOutput

        @Stability(Experimental)
        @NotNull
        public OutputNode findOutput​(@NotNull
                                     String logicalId)
        (experimental) Find OutputNode with *logicalId* defined by this stack.

        Parameters:
        logicalId - This parameter is required.
      • findParameter

        @Stability(Experimental)
        @NotNull
        public ParameterNode findParameter​(@NotNull
                                           String parameterId)
        (experimental) Find ParameterNode with *parameterId* defined by this stack.

        Parameters:
        parameterId - This parameter is required.
      • mutateDestroy

        @Stability(Experimental)
        public void mutateDestroy​(@Nullable
                                  Boolean strict)
        (experimental) Destroys this node by removing all references and removing this node from the store.

        Overrides:
        mutateDestroy in class Node
        Parameters:
        strict -
      • mutateDestroy

        @Stability(Experimental)
        public void mutateDestroy()
        (experimental) Destroys this node by removing all references and removing this node from the store.
        Overrides:
        mutateDestroy in class Node
      • mutateHoist

        @Stability(Experimental)
        public void mutateHoist​(@NotNull
                                Node newParent)
        (experimental) Hoist this node to an ancestor by removing it from its current parent node and in turn moving it to the ancestor.

        Overrides:
        mutateHoist in class Node
        Parameters:
        newParent - This parameter is required.
      • mutateRemoveOutput

        @Stability(Experimental)
        @NotNull
        public Boolean mutateRemoveOutput​(@NotNull
                                          OutputNode node)
        (experimental) Disassociate OutputNode from this stack.

        Parameters:
        node - This parameter is required.
      • mutateRemoveParameter

        @Stability(Experimental)
        @NotNull
        public Boolean mutateRemoveParameter​(@NotNull
                                             ParameterNode node)
        (experimental) Disassociate ParameterNode from this stack.

        Parameters:
        node - This parameter is required.
      • getExports

        @Stability(Experimental)
        @NotNull
        public List<OutputNode> getExports()
        (experimental) Get all **exported** OutputNodes defined by this stack.
      • getOutputs

        @Stability(Experimental)
        @NotNull
        public List<OutputNode> getOutputs()
        (experimental) Get all OutputNodes defined by this stack.
      • getParameters

        @Stability(Experimental)
        @NotNull
        public List<ParameterNode> getParameters()
        (experimental) Get all ParameterNodes defined by this stack.
      • getStage

        @Stability(Experimental)
        @Nullable
        public StageNode getStage()
        (experimental) Get StageNode containing this stack.