Interface ManualApprovalActionProps
- All Superinterfaces:
CommonActionProps
,CommonAwsActionProps
,software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
ManualApprovalActionProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-11-22T02:23:58.998Z")
@Stability(Stable)
public interface ManualApprovalActionProps
extends software.amazon.jsii.JsiiSerializable, CommonAwsActionProps
Construction properties of the
ManualApprovalAction
.
Example:
Pipeline pipeline = new Pipeline(this, "MyPipeline"); IStage approveStage = pipeline.addStage(StageOptions.builder().stageName("Approve").build()); ManualApprovalAction manualApprovalAction = ManualApprovalAction.Builder.create() .actionName("Approve") .build(); approveStage.addAction(manualApprovalAction); IRole role = Role.fromRoleArn(this, "Admin", Arn.format(ArnComponents.builder().service("iam").resource("role").resourceName("Admin").build(), this)); manualApprovalAction.grantManualApproval(role);
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forManualApprovalActionProps
static final class
An implementation forManualApprovalActionProps
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
default String
Any additional information that you want to include in the notification email message.default String
URL you want to provide to the reviewer as part of the approval request.default ITopic
Optional SNS topic to send notifications to when an approval is pending.A list of email addresses to subscribe to notifications when this Action is pending approval.Methods inherited from interface software.amazon.awscdk.services.codepipeline.CommonActionProps
getActionName, getRunOrder, getVariablesNamespace
Methods inherited from interface software.amazon.awscdk.services.codepipeline.CommonAwsActionProps
getRole
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAdditionalInformation
Any additional information that you want to include in the notification email message. -
getExternalEntityLink
URL you want to provide to the reviewer as part of the approval request.Default: - the approval request will not have an external link
-
getNotificationTopic
Optional SNS topic to send notifications to when an approval is pending. -
getNotifyEmails
A list of email addresses to subscribe to notifications when this Action is pending approval.If this has been provided, but not
notificationTopic
, a new Topic will be created. -
builder
- Returns:
- a
ManualApprovalActionProps.Builder
ofManualApprovalActionProps
-