Interface ManualApprovalStepProps

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

@Generated(value="jsii-pacmak/1.112.0 (build de1bc80)", date="2025-07-29T17:51:11.195Z") @Stability(Stable) public interface ManualApprovalStepProps extends software.amazon.jsii.JsiiSerializable
Construction properties for a ManualApprovalStep.

Example:

 CodePipeline pipeline;
 MyApplicationStage preprod = new MyApplicationStage(this, "PreProd");
 MyApplicationStage prod = new MyApplicationStage(this, "Prod");
 Topic topic = new Topic(this, "ChangeApprovalTopic");
 pipeline.addStage(preprod, AddStageOpts.builder()
         .post(List.of(
             ShellStep.Builder.create("Validate Endpoint")
                     .commands(List.of("curl -Ssf https://my.webservice.com/"))
                     .build()))
         .build());
 pipeline.addStage(prod, AddStageOpts.builder()
         .pre(List.of(ManualApprovalStep.Builder.create("PromoteToProd")
                 //All options below are optional
                 .comment("Please validate changes")
                 .reviewUrl("https://my.webservice.com/")
                 .notificationTopic(topic)
                 .build()))
         .build());
 
  • Method Details

    • getComment

      @Stability(Stable) @Nullable default String getComment()
      The comment to display with this manual approval.

      Default: - No comment

    • getNotificationTopic

      @Stability(Stable) @Nullable default ITopic getNotificationTopic()
      Optional SNS topic to send notifications to when an approval is pending.

      Default: - No notifications

    • getReviewUrl

      @Stability(Stable) @Nullable default String getReviewUrl()
      The URL for review associated with this manual approval.

      Default: - No URL

    • builder

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