Interface ManualApprovalActionProps
- All Superinterfaces:
CommonActionProps,CommonAwsActionProps,software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
ManualApprovalActionProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:48.480Z")
@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
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forManualApprovalActionPropsstatic final classAn implementation forManualApprovalActionProps -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default StringAny additional information that you want to include in the notification email message.default StringURL you want to provide to the reviewer as part of the approval request.default ITopicOptional 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, getVariablesNamespaceMethods inherited from interface software.amazon.awscdk.services.codepipeline.CommonAwsActionProps
getRoleMethods 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.BuilderofManualApprovalActionProps
-