@Generated(value="jsii-pacmak/1.26.0 (build 7d76e02)", date="2021-03-25T11:30:29.081Z") @Stability(value=Experimental) public class CdkStage extends Construct
You don't need to instantiate this class directly. Use
cdkPipeline.addStage() instead.
| Modifier and Type | Class and Description |
|---|---|
static class |
CdkStage.Builder
(experimental) A fluent builder for
CdkStage. |
software.amazon.jsii.JsiiObject.InitializationModeIConstruct.Jsii$Default, IConstruct.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
|
CdkStage(software.constructs.Construct scope,
String id,
CdkStageProps props) |
protected |
CdkStage(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
CdkStage(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
void |
addActions(IAction... actions)
(experimental) Add one or more CodePipeline Actions.
|
void |
addApplication(Stage appStage)
(experimental) Add all stacks in the application Stage to this stage.
|
void |
addApplication(Stage appStage,
AddStageOptions options)
(experimental) Add all stacks in the application Stage to this stage.
|
void |
addManualApprovalAction()
(experimental) Add a manual approval action.
|
void |
addManualApprovalAction(AddManualApprovalOptions options)
(experimental) Add a manual approval action.
|
void |
addStackArtifactDeployment(CloudFormationStackArtifact stackArtifact)
(experimental) Add a deployment action based on a stack artifact.
|
void |
addStackArtifactDeployment(CloudFormationStackArtifact stackArtifact,
AddStackOptions options)
(experimental) Add a deployment action based on a stack artifact.
|
Boolean |
deploysStack(String artifactId)
(experimental) Whether this Stage contains an action to deploy the given stack, identified by its artifact ID.
|
Number |
nextSequentialRunOrder()
(experimental) Return the runOrder number necessary to run the next Action in sequence with the rest.
|
Number |
nextSequentialRunOrder(Number count)
(experimental) Return the runOrder number necessary to run the next Action in sequence with the rest.
|
getNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validatejsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetprotected CdkStage(software.amazon.jsii.JsiiObjectRef objRef)
protected CdkStage(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Experimental)
public CdkStage(@NotNull
software.constructs.Construct scope,
@NotNull
String id,
@NotNull
CdkStageProps props)
scope - This parameter is required.id - This parameter is required.props - This parameter is required.@Stability(value=Experimental)
public void addActions(@NotNull
IAction... actions)
You need to make sure it is created with the right runOrder. Call nextSequentialRunOrder()
for every action to get actions to execute in sequence.
actions - This parameter is required.@Stability(value=Experimental)
public void addApplication(@NotNull
Stage appStage,
@Nullable
AddStageOptions options)
The application construct should subclass Stage and can contain any
number of Stacks inside it that may have dependency relationships
on one another.
All stacks in the application will be deployed in the appropriate order, and all assets found in the application will be added to the asset publishing stage.
appStage - This parameter is required.options - @Stability(value=Experimental)
public void addApplication(@NotNull
Stage appStage)
The application construct should subclass Stage and can contain any
number of Stacks inside it that may have dependency relationships
on one another.
All stacks in the application will be deployed in the appropriate order, and all assets found in the application will be added to the asset publishing stage.
appStage - This parameter is required.@Stability(value=Experimental)
public void addManualApprovalAction(@Nullable
AddManualApprovalOptions options)
If you need more flexibility than what this method offers,
use addAction with a ManualApprovalAction.
options - @Stability(value=Experimental) public void addManualApprovalAction()
If you need more flexibility than what this method offers,
use addAction with a ManualApprovalAction.
@Stability(value=Experimental)
public void addStackArtifactDeployment(@NotNull
CloudFormationStackArtifact stackArtifact,
@Nullable
AddStackOptions options)
stackArtifact - This parameter is required.options - @Stability(value=Experimental)
public void addStackArtifactDeployment(@NotNull
CloudFormationStackArtifact stackArtifact)
stackArtifact - This parameter is required.@Stability(value=Experimental) @NotNull public Boolean deploysStack(@NotNull String artifactId)
artifactId - This parameter is required.@Stability(value=Experimental) @NotNull public Number nextSequentialRunOrder(@Nullable Number count)
FIXME: This is here because Actions are immutable and can't be reordered after creation, nor is there a way to specify relative priorities, which is a limitation that we should take away in the base library.
count - @Stability(value=Experimental) @NotNull public Number nextSequentialRunOrder()
FIXME: This is here because Actions are immutable and can't be reordered after creation, nor is there a way to specify relative priorities, which is a limitation that we should take away in the base library.
Copyright © 2021. All rights reserved.