Package software.amazon.awscdk.pipelines
Class Wave
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.pipelines.Wave
- All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-12-06T14:43:28.783Z")
@Stability(Stable)
public class Wave
extends software.amazon.jsii.JsiiObject
Multiple stages that are deployed in parallel.
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());
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Add an additional step to run after all of the stages in this wave.void
Add an additional step to run before any of the stages in this wave.Add a Stage to this wave.addStage
(Stage stage, AddStageOpts options) Add a Stage to this wave.getId()
Identifier for this Wave.getPost()
Additional steps that are run after all of the stages in the wave.getPre()
Additional steps that are run before any of the stages in the wave.The stages that are deployed in this wave.Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Constructor Details
-
Wave
protected Wave(software.amazon.jsii.JsiiObjectRef objRef) -
Wave
protected Wave(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
Wave
- Parameters:
id
- Identifier for this Wave. This parameter is required.props
-
-
Wave
- Parameters:
id
- Identifier for this Wave. This parameter is required.
-
-
Method Details
-
addPost
Add an additional step to run after all of the stages in this wave.- Parameters:
steps
- This parameter is required.
-
addPre
Add an additional step to run before any of the stages in this wave.- Parameters:
steps
- This parameter is required.
-
addStage
@Stability(Stable) @NotNull public StageDeployment addStage(@NotNull Stage stage, @Nullable AddStageOpts options) Add a Stage to this wave.It will be deployed in parallel with all other stages in this wave.
- Parameters:
stage
- This parameter is required.options
-
-
addStage
Add a Stage to this wave.It will be deployed in parallel with all other stages in this wave.
- Parameters:
stage
- This parameter is required.
-
getId
Identifier for this Wave. -
getPost
Additional steps that are run after all of the stages in the wave. -
getPre
Additional steps that are run before any of the stages in the wave. -
getStages
The stages that are deployed in this wave.
-