@Generated(value="jsii-pacmak/1.74.0 (build 6d08790)",
date="2023-03-22T19:35:51.891Z")
public class Wave
extends software.amazon.jsii.JsiiObject
Example:
CodePipeline pipeline; Wave europeWave = pipeline.addWave("Europe"); europeWave.addStage(MyApplicationStage.Builder.create(this, "Ireland") .env(Environment.builder().region("eu-west-1").build()) .build()); europeWave.addStage(MyApplicationStage.Builder.create(this, "Germany") .env(Environment.builder().region("eu-central-1").build()) .build());
Modifier and Type | Class and Description |
---|---|
static class |
Wave.Builder
A fluent builder for
Wave . |
Modifier | Constructor and Description |
---|---|
protected |
Wave(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
Wave(software.amazon.jsii.JsiiObjectRef objRef) |
|
Wave(java.lang.String id,
WaveProps props) |
Modifier and Type | Method and Description |
---|---|
void |
addPost(Step... steps)
Add an additional step to run after all of the stages in this wave.
|
void |
addPre(Step... steps)
Add an additional step to run before any of the stages in this wave.
|
StageDeployment |
addStage(Stage stage)
Add a Stage to this wave.
|
StageDeployment |
addStage(Stage stage,
AddStageOpts options)
Add a Stage to this wave.
|
java.lang.String |
getId()
Identifier for this Wave.
|
java.util.List<Step> |
getPost()
Additional steps that are run after all of the stages in the wave.
|
java.util.List<Step> |
getPre()
Additional steps that are run before any of the stages in the wave.
|
java.util.List<StageDeployment> |
getStages()
The stages that are deployed in this wave.
|
protected Wave(software.amazon.jsii.JsiiObjectRef objRef)
protected Wave(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
public Wave(java.lang.String id, WaveProps props)
id
- Identifier for this Wave. This parameter is required.props
- public void addPost(Step... steps)
steps
- This parameter is required.public void addPre(Step... steps)
steps
- This parameter is required.public StageDeployment addStage(Stage stage, AddStageOpts options)
It will be deployed in parallel with all other stages in this wave.
stage
- This parameter is required.options
- public StageDeployment addStage(Stage stage)
It will be deployed in parallel with all other stages in this wave.
stage
- This parameter is required.public java.lang.String getId()
public java.util.List<Step> getPost()
public java.util.List<Step> getPre()
public java.util.List<StageDeployment> getStages()