Provides the response to a manual approval request to CodePipeline¶
Description¶
Provides the response to a manual approval request to CodePipeline. Valid responses include Approved and Rejected.
Usage¶
Arguments¶
-
pipelineName[required] The name of the pipeline that contains the action.
-
stageName[required] The name of the stage that contains the action.
-
actionName[required] The name of the action for which approval is requested.
-
result[required] Represents information about the result of the approval request.
-
token[required] The system-generated token used to identify a unique approval request. The token for each open approval request can be obtained using the
get_pipeline_stateaction. It is used to validate that the approval request corresponding to this token is still valid.For a pipeline where the execution mode is set to PARALLEL, the token required to approve/reject an approval request as detailed above is not available. Instead, use the
externalExecutionIdin the response output from thelist_action_executionsaction as the token in the approval request.
Value¶
A list with the following syntax: