Class StackNode
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- software.aws.awsprototypingsdk.cdkgraph.BaseEntity
-
- software.aws.awsprototypingsdk.cdkgraph.Node
-
- software.aws.awsprototypingsdk.cdkgraph.StackNode
-
- All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable,ISerializableEntity,ISerializableNode
- Direct Known Subclasses:
NestedStackNode
@Generated(value="jsii-pacmak/1.82.0 (build 2d2ddd7)", date="2023-08-24T23:07:44.494Z") @Stability(Experimental) public class StackNode extends Node
(experimental) StackNode defines a cdk Stack.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
-
Nested classes/interfaces inherited from interface software.aws.awsprototypingsdk.cdkgraph.ISerializableEntity
ISerializableEntity.Jsii$Default
-
Nested classes/interfaces inherited from interface software.aws.awsprototypingsdk.cdkgraph.ISerializableNode
ISerializableNode.Jsii$Default, ISerializableNode.Jsii$Proxy
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedStackNode(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)protectedStackNode(software.amazon.jsii.JsiiObjectRef objRef)StackNode(IStackNodeProps props)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddOutput(OutputNode node)(experimental) AssociateOutputNodewith this stack.voidaddParameter(ParameterNode node)(experimental) AssociateParameterNodewith this stack.OutputNodefindOutput(String logicalId)(experimental) FindOutputNodewith *logicalId* defined by this stack.ParameterNodefindParameter(String parameterId)(experimental) FindParameterNodewith *parameterId* defined by this stack.List<OutputNode>getExports()(experimental) Get all **exported**OutputNodes defined by this stack.List<OutputNode>getOutputs()(experimental) Get allOutputNodes defined by this stack.List<ParameterNode>getParameters()(experimental) Get allParameterNodes defined by this stack.StageNodegetStage()(experimental) GetStageNodecontaining this stack.static BooleanisStackNode(Node node)(experimental) Indicates if node is aStackNode.voidmutateDestroy()(experimental) Destroys this node by removing all references and removing this node from the store.voidmutateDestroy(Boolean strict)(experimental) Destroys this node by removing all references and removing this node from the store.voidmutateHoist(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.BooleanmutateRemoveOutput(OutputNode node)(experimental) DisassociateOutputNodefrom this stack.BooleanmutateRemoveParameter(ParameterNode node)(experimental) DisassociateParameterNodefrom this stack.static StackNodeof(Node node)(experimental) Gets theStackNodecontaining a given resource.-
Methods inherited from class software.aws.awsprototypingsdk.cdkgraph.Node
addChild, addLink, addReverseLink, doesDependOn, doesReference, find, findAll, findAll, findAllLinks, findAllLinks, findAncestor, findAncestor, findChild, findLink, findLink, findLink, findLink, findLinks, findLinks, findLinks, findLinks, getAllowDestructiveMutations, getCfnProp, getCfnProps, getCfnType, getChild, getChildren, getConstructInfo, getConstructInfoFqn, getDependedOnBy, getDependencies, getDependencyLinks, getDepth, getId, getIsAsset, getIsCfnFqn, getIsCluster, getIsCustomResource, getIsExtraneous, getIsGraphContainer, getIsLeaf, getIsTopLevel, getLinkChains, getLinkChains, getLinks, getLogicalId, getNearestAncestor, getNodeType, getParent, getPath, getReferencedBy, getReferenceLinks, getReferences, getReverseDependencyLinks, getReverseLinks, getReverseReferenceLinks, getRootStack, getScopes, getSiblings, getStack, isAncestor, isChild, mutateCollapse, mutateCollapseTo, mutateCollapseToParent, mutateMove, mutateRemoveChild, mutateRemoveLink, mutateRemoveReverseLink, mutateUncluster, toString
-
Methods inherited from class software.aws.awsprototypingsdk.cdkgraph.BaseEntity
addAttribute, addFlag, addMetadata, addTag, applyData, applyData, applyData, findMetadata, getAttribute, getAttributes, getFlags, getIsDestroyed, getIsMutated, getMetadata, getStore, getTag, getTags, getUuid, hasAttribute, hasAttribute, hasFlag, hasMetadata, hasTag, hasTag, setAttribute, setTag
-
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
-
-
-
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 aStackNode.- Parameters:
node- This parameter is required.
-
of
@Stability(Experimental) @NotNull public static StackNode of(@NotNull Node node)
(experimental) Gets theStackNodecontaining a given resource.- Parameters:
node- This parameter is required.
-
addOutput
@Stability(Experimental) public void addOutput(@NotNull OutputNode node)(experimental) AssociateOutputNodewith this stack.- Parameters:
node- This parameter is required.
-
addParameter
@Stability(Experimental) public void addParameter(@NotNull ParameterNode node)(experimental) AssociateParameterNodewith this stack.- Parameters:
node- This parameter is required.
-
findOutput
@Stability(Experimental) @NotNull public OutputNode findOutput(@NotNull String logicalId)
(experimental) FindOutputNodewith *logicalId* defined by this stack.- Parameters:
logicalId- This parameter is required.
-
findParameter
@Stability(Experimental) @NotNull public ParameterNode findParameter(@NotNull String parameterId)
(experimental) FindParameterNodewith *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:
mutateDestroyin classNode- Parameters:
strict-
-
mutateDestroy
@Stability(Experimental) public void mutateDestroy()
(experimental) Destroys this node by removing all references and removing this node from the store.- Overrides:
mutateDestroyin classNode
-
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:
mutateHoistin classNode- Parameters:
newParent- This parameter is required.
-
mutateRemoveOutput
@Stability(Experimental) @NotNull public Boolean mutateRemoveOutput(@NotNull OutputNode node)
(experimental) DisassociateOutputNodefrom this stack.- Parameters:
node- This parameter is required.
-
mutateRemoveParameter
@Stability(Experimental) @NotNull public Boolean mutateRemoveParameter(@NotNull ParameterNode node)
(experimental) DisassociateParameterNodefrom 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 allOutputNodes defined by this stack.
-
getParameters
@Stability(Experimental) @NotNull public List<ParameterNode> getParameters()
(experimental) Get allParameterNodes defined by this stack.
-
-