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.119.0 (build 1634eac)",
date="2025-11-13T16:10:17.601Z")
@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 classA builder forManualApprovalStepPropsstatic final classAn 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.BuilderofManualApprovalStepProps
-