@Generated(value="jsii-pacmak/1.31.0 (build 6fa403d)", date="2021-08-11T10:33:10.123Z") @Stability(value=Experimental) public class StageDeployment extends software.amazon.jsii.JsiiObject
A Stage consists of one or more Stacks, which will be
deployed in dependency order.
| Modifier | Constructor and Description |
|---|---|
protected |
StageDeployment(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
StageDeployment(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
void |
addPost(Step... steps)
(experimental) Add an additional step to run after all of the stacks in this stage.
|
void |
addPre(Step... steps)
(experimental) Add an additional step to run before any of the stacks in this stage.
|
static StageDeployment |
fromStage(Stage stage)
(experimental) Create a new `StageDeployment` from a `Stage`.
|
static StageDeployment |
fromStage(Stage stage,
StageDeploymentProps props)
(experimental) Create a new `StageDeployment` from a `Stage`.
|
List<Step> |
getPost()
(experimental) Additional steps that are run after all of the stacks in the stage.
|
List<Step> |
getPre()
(experimental) Additional steps that are run before any of the stacks in the stage.
|
List<StackDeployment> |
getStacks()
(experimental) The stacks deployed in this stage.
|
String |
getStageName()
(experimental) The display name of this stage.
|
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetprotected StageDeployment(software.amazon.jsii.JsiiObjectRef objRef)
protected StageDeployment(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Experimental) @NotNull public static StageDeployment fromStage(@NotNull Stage stage, @Nullable StageDeploymentProps props)
Synthesizes the target stage, and deployes the stacks found inside in dependency order.
stage - This parameter is required.props - @Stability(value=Experimental) @NotNull public static StageDeployment fromStage(@NotNull Stage stage)
Synthesizes the target stage, and deployes the stacks found inside in dependency order.
stage - This parameter is required.@Stability(value=Experimental)
public void addPost(@NotNull
Step... steps)
steps - This parameter is required.@Stability(value=Experimental)
public void addPre(@NotNull
Step... steps)
steps - This parameter is required.@Stability(value=Experimental) @NotNull public List<Step> getPost()
@Stability(value=Experimental) @NotNull public List<Step> getPre()
@Stability(value=Experimental) @NotNull public List<StackDeployment> getStacks()
@Stability(value=Experimental) @NotNull public String getStageName()
Copyright © 2021. All rights reserved.