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.84.0 (build 5404dcf)", date="2023-06-19T16:30:49.909Z") @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
    Modifier and Type
    Class
    Description
    static final class 
    A fluent builder for Wave.

    Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject

    software.amazon.jsii.JsiiObject.InitializationMode
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
     
     
     
    Wave(String id, WaveProps props)
     
    protected
    Wave(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
     
    protected
    Wave(software.amazon.jsii.JsiiObjectRef objRef)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    addPost(@NotNull Step... steps)
    Add an additional step to run after all of the stages in this wave.
    void
    addPre(@NotNull Step... steps)
    Add an additional step to run before any of the stages in this wave.
    addStage(Stage stage)
    Add a Stage to this wave.
    addStage(Stage stage, AddStageOpts options)
    Add a Stage to this wave.
    Identifier for this Wave.
    Additional steps that are run after all of the stages in the wave.
    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

      @Stability(Stable) public Wave(@NotNull String id, @Nullable WaveProps props)
      Parameters:
      id - Identifier for this Wave. This parameter is required.
      props -
    • Wave

      @Stability(Stable) public Wave(@NotNull String id)
      Parameters:
      id - Identifier for this Wave. This parameter is required.
  • Method Details

    • addPost

      @Stability(Stable) public void addPost(@NotNull @NotNull Step... steps)
      Add an additional step to run after all of the stages in this wave.

      Parameters:
      steps - This parameter is required.
    • addPre

      @Stability(Stable) public void addPre(@NotNull @NotNull Step... steps)
      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

      @Stability(Stable) @NotNull public StageDeployment addStage(@NotNull Stage stage)
      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

      @Stability(Stable) @NotNull public String getId()
      Identifier for this Wave.
    • getPost

      @Stability(Stable) @NotNull public List<Step> getPost()
      Additional steps that are run after all of the stages in the wave.
    • getPre

      @Stability(Stable) @NotNull public List<Step> getPre()
      Additional steps that are run before any of the stages in the wave.
    • getStages

      @Stability(Stable) @NotNull public List<StageDeployment> getStages()
      The stages that are deployed in this wave.