Class ManualApprovalAction
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.codepipeline.Action
software.amazon.awscdk.services.codepipeline.actions.Action
software.amazon.awscdk.services.codepipeline.actions.ManualApprovalAction
- All Implemented Interfaces:
IAction
,software.amazon.jsii.JsiiSerializable
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-11-22T02:23:58.998Z")
@Stability(Stable)
public class ManualApprovalAction
extends Action
Manual approval action.
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 classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.amazon.awscdk.services.codepipeline.IAction
IAction.Jsii$Default
-
Constructor Summary
ModifierConstructorDescriptionprotected
ManualApprovalAction
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protected
ManualApprovalAction
(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Modifier and TypeMethodDescriptionprotected ActionConfig
bound
(software.constructs.Construct scope, IStage stage, ActionBindOptions options) This is a renamed version of theIAction.bind
method.void
grantManualApproval
(IGrantable grantable) grant the provided principal the permissions to approve or reject this manual approval action.Methods inherited from class software.amazon.awscdk.services.codepipeline.actions.Action
getProvidedActionProperties
Methods inherited from class software.amazon.awscdk.services.codepipeline.Action
bind, getActionProperties, onStateChange, onStateChange, onStateChange, variableExpression
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Constructor Details
-
ManualApprovalAction
protected ManualApprovalAction(software.amazon.jsii.JsiiObjectRef objRef) -
ManualApprovalAction
protected ManualApprovalAction(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
ManualApprovalAction
- Parameters:
props
- This parameter is required.
-
-
Method Details
-
bound
@Stability(Stable) @NotNull protected ActionConfig bound(@NotNull software.constructs.Construct scope, @NotNull IStage stage, @NotNull ActionBindOptions options) This is a renamed version of theIAction.bind
method. -
grantManualApproval
grant the provided principal the permissions to approve or reject this manual approval action.For more info see: https://docs.aws.amazon.com/codepipeline/latest/userguide/approvals-iam-permissions.html
- Parameters:
grantable
- the grantable to attach the permissions to. This parameter is required.
-
getNotificationTopic
-