Interface AddStageOpts

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
AddStageOpts.Jsii$Proxy

@Generated(value="jsii-pacmak/1.120.0 (build 192dc88)", date="2025-12-05T22:26:49.113Z") @Stability(Stable) public interface AddStageOpts extends software.amazon.jsii.JsiiSerializable
Options to pass to addStage.

Example:

 CodePipeline pipeline;
 Topic topic = new Topic(this, "SecurityChangesTopic");
 topic.addSubscription(new EmailSubscription("test@email.com"));
 MyApplicationStage stage = new MyApplicationStage(this, "MyApplication");
 pipeline.addStage(stage, AddStageOpts.builder()
         .pre(List.of(
             ConfirmPermissionsBroadening.Builder.create("Check")
                     .stage(stage)
                     .notificationTopic(topic)
                     .build()))
         .build());
 
  • Method Details

    • getPost

      @Stability(Stable) @Nullable default List<Step> getPost()
      Additional steps to run after all of the stacks in the stage.

      Default: - No additional steps

    • getPre

      @Stability(Stable) @Nullable default List<Step> getPre()
      Additional steps to run before any of the stacks in the stage.

      Default: - No additional steps

    • getStackSteps

      @Stability(Stable) @Nullable default List<StackSteps> getStackSteps()
      Instructions for stack level steps.

      Default: - No additional instructions

    • builder

      @Stability(Stable) static AddStageOpts.Builder builder()
      Returns:
      a AddStageOpts.Builder of AddStageOpts