@Generated(value="jsii-pacmak/1.70.0 (build 03c2f6f)", date="2022-11-01T13:16:44.947Z") @Stability(value=Experimental) public interface ManualApprovalActionProps extends software.amazon.jsii.JsiiSerializable, CommonAwsActionProps
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);
| Modifier and Type | Interface and Description |
|---|---|
static class |
ManualApprovalActionProps.Builder
A builder for
ManualApprovalActionProps |
static class |
ManualApprovalActionProps.Jsii$Proxy
An implementation for
ManualApprovalActionProps |
| Modifier and Type | Method and Description |
|---|---|
static ManualApprovalActionProps.Builder |
builder() |
default String |
getAdditionalInformation()
(experimental) Any additional information that you want to include in the notification email message.
|
default String |
getExternalEntityLink()
(experimental) URL you want to provide to the reviewer as part of the approval request.
|
default ITopic |
getNotificationTopic()
(experimental) Optional SNS topic to send notifications to when an approval is pending.
|
default List<String> |
getNotifyEmails()
(experimental) A list of email addresses to subscribe to notifications when this Action is pending approval.
|
getRolegetActionName, getRunOrder, getVariablesNamespace@Stability(value=Experimental) @Nullable default String getAdditionalInformation()
@Stability(value=Experimental) @Nullable default String getExternalEntityLink()
Default: - the approval request will not have an external link
@Stability(value=Experimental) @Nullable default ITopic getNotificationTopic()
@Stability(value=Experimental) @Nullable default List<String> getNotifyEmails()
If this has been provided, but not notificationTopic,
a new Topic will be created.
@Stability(value=Experimental) static ManualApprovalActionProps.Builder builder()
builder in interface CommonActionPropsbuilder in interface CommonAwsActionPropsManualApprovalActionProps.Builder of ManualApprovalActionPropsCopyright © 2022. All rights reserved.