Package software.amazon.awscdk.pipelines
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());
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final class
A builder forManualApprovalStepProps
static final class
An implementation forManualApprovalStepProps
-
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getComment
The comment to display with this manual approval.Default: - No comment
-
getNotificationTopic
Optional SNS topic to send notifications to when an approval is pending.Default: - No notifications
-
getReviewUrl
The URL for review associated with this manual approval.Default: - No URL
-
builder
- Returns:
- a
ManualApprovalStepProps.Builder
ofManualApprovalStepProps
-