@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:37.558Z") @Stability(value=Stable) public interface ManualApprovalActionProps extends software.amazon.jsii.JsiiSerializable, CommonAwsActionProps
ManualApprovalAction.
Example:
// Example automatically generated from non-compiling source. May contain errors.
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()
Any additional information that you want to include in the notification email message.
|
default String |
getExternalEntityLink()
URL you want to provide to the reviewer as part of the approval request.
|
default ITopic |
getNotificationTopic()
Optional SNS topic to send notifications to when an approval is pending.
|
default List<String> |
getNotifyEmails()
A list of email addresses to subscribe to notifications when this Action is pending approval.
|
getRolegetActionName, getRunOrder, getVariablesNamespace@Stability(value=Stable) @Nullable default String getAdditionalInformation()
@Stability(value=Stable) @Nullable default String getExternalEntityLink()
Default: - the approval request will not have an external link
@Stability(value=Stable) @Nullable default ITopic getNotificationTopic()
@Stability(value=Stable) @Nullable default List<String> getNotifyEmails()
If this has been provided, but not notificationTopic,
a new Topic will be created.
@Stability(value=Stable) static ManualApprovalActionProps.Builder builder()
builder in interface CommonActionPropsbuilder in interface CommonAwsActionPropsManualApprovalActionProps.Builder of ManualApprovalActionPropsCopyright © 2022. All rights reserved.