@Stability(value=Experimental) public static final class ManualApprovalAction.Builder extends Object implements software.amazon.jsii.Builder<ManualApprovalAction>
ManualApprovalAction.| Modifier and Type | Method and Description |
|---|---|
ManualApprovalAction.Builder |
actionName(String actionName)
(experimental) The physical, human-readable name of the Action.
|
ManualApprovalAction.Builder |
additionalInformation(String additionalInformation)
(experimental) Any additional information that you want to include in the notification email message.
|
ManualApprovalAction |
build() |
static ManualApprovalAction.Builder |
create() |
ManualApprovalAction.Builder |
externalEntityLink(String externalEntityLink)
(experimental) URL you want to provide to the reviewer as part of the approval request.
|
ManualApprovalAction.Builder |
notificationTopic(ITopic notificationTopic)
(experimental) Optional SNS topic to send notifications to when an approval is pending.
|
ManualApprovalAction.Builder |
notifyEmails(List<String> notifyEmails)
(experimental) A list of email addresses to subscribe to notifications when this Action is pending approval.
|
ManualApprovalAction.Builder |
role(IRole role)
(experimental) The Role in which context's this Action will be executing in.
|
ManualApprovalAction.Builder |
runOrder(Number runOrder)
(experimental) The runOrder property for this Action.
|
ManualApprovalAction.Builder |
variablesNamespace(String variablesNamespace)
(experimental) The name of the namespace to use for variables emitted by this action.
|
@Stability(value=Experimental) public static ManualApprovalAction.Builder create()
ManualApprovalAction.Builder.@Stability(value=Experimental) public ManualApprovalAction.Builder actionName(String actionName)
Note that Action names must be unique within a single Stage.
actionName - The physical, human-readable name of the Action. This parameter is required.this@Stability(value=Experimental) public ManualApprovalAction.Builder runOrder(Number runOrder)
RunOrder determines the relative order in which multiple Actions in the same Stage execute.
Default: 1
runOrder - The runOrder property for this Action. This parameter is required.thishttps://docs.aws.amazon.com/codepipeline/latest/userguide/reference-pipeline-structure.html@Stability(value=Experimental) public ManualApprovalAction.Builder variablesNamespace(String variablesNamespace)
Default: - a name will be generated, based on the stage and action names, if any of the action's variables were referenced - otherwise, no namespace will be set
variablesNamespace - The name of the namespace to use for variables emitted by this action. This parameter is required.this@Stability(value=Experimental) public ManualApprovalAction.Builder role(IRole role)
The Pipeline's Role will assume this Role (the required permissions for that will be granted automatically) right before executing this Action. This Action will be passed into your {@link IAction.bind} method in the {@link ActionBindOptions.role} property.
Default: a new Role will be generated
role - The Role in which context's this Action will be executing in. This parameter is required.this@Stability(value=Experimental) public ManualApprovalAction.Builder additionalInformation(String additionalInformation)
additionalInformation - Any additional information that you want to include in the notification email message. This parameter is required.this@Stability(value=Experimental) public ManualApprovalAction.Builder externalEntityLink(String externalEntityLink)
Default: - the approval request will not have an external link
externalEntityLink - URL you want to provide to the reviewer as part of the approval request. This parameter is required.this@Stability(value=Experimental) public ManualApprovalAction.Builder notificationTopic(ITopic notificationTopic)
notificationTopic - Optional SNS topic to send notifications to when an approval is pending. This parameter is required.this@Stability(value=Experimental) public ManualApprovalAction.Builder notifyEmails(List<String> notifyEmails)
If this has been provided, but not notificationTopic,
a new Topic will be created.
notifyEmails - A list of email addresses to subscribe to notifications when this Action is pending approval. This parameter is required.this@Stability(value=Experimental) public ManualApprovalAction build()
build in interface software.amazon.jsii.Builder<ManualApprovalAction>Copyright © 2021. All rights reserved.