Integrate AWS CodePipeline into workflows. Start, stop, and monitor pipeline executions, retry failed stages, and approve or reject manual approval actions. Requires AWS access key and secret access key.
List all CodePipeline pipelines in an AWS account and region
| Parameter | Type | Required | Description |
|---|
awsRegion | string | Yes | AWS region (e.g., us-east-1) |
awsAccessKeyId | string | Yes | AWS access key ID |
awsSecretAccessKey | string | Yes | AWS secret access key |
maxResults | number | No | Maximum number of pipelines to return (1-1000) |
nextToken | string | No | Pagination token from a previous call |
| Parameter | Type | Description |
|---|
pipelines | array | List of pipelines with name, version, type, and timestamps |
nextToken | string | Pagination token for the next page of results |
Get the structure of a CodePipeline pipeline, including its stages, actions, and variables
| Parameter | Type | Required | Description |
|---|
awsRegion | string | Yes | AWS region (e.g., us-east-1) |
awsAccessKeyId | string | Yes | AWS access key ID |
awsSecretAccessKey | string | Yes | AWS secret access key |
pipelineName | string | Yes | Name of the pipeline |
version | number | No | Pipeline version to retrieve (defaults to the current version) |
| Parameter | Type | Description |
|---|
pipelineName | string | Pipeline name |
pipelineArn | string | Pipeline ARN |
roleArn | string | IAM role ARN the pipeline assumes |
version | number | Pipeline version number |
pipelineType | string | Pipeline type (V1 or V2) |
executionMode | string | Execution mode (QUEUED, SUPERSEDED, PARALLEL) |
artifactStoreType | string | Artifact store type (S3) |
artifactStoreLocation | string | Artifact store bucket location |
stages | array | Pipeline stages with their actions (name, category, provider, configuration) |
variables | array | Pipeline variable declarations with default values |
created | number | Epoch ms when the pipeline was created |
updated | number | Epoch ms when the pipeline was last updated |
Get the current state of a CodePipeline pipeline, including stage and action status and pending approval tokens
| Parameter | Type | Required | Description |
|---|
awsRegion | string | Yes | AWS region (e.g., us-east-1) |
awsAccessKeyId | string | Yes | AWS access key ID |
awsSecretAccessKey | string | Yes | AWS secret access key |
pipelineName | string | Yes | Name of the pipeline |
| Parameter | Type | Description |
|---|
pipelineName | string | Pipeline name |
pipelineVersion | number | Pipeline version number |
created | number | Epoch ms when the pipeline was created |
updated | number | Epoch ms when the pipeline was last updated |
stageStates | array | Per-stage state including latest execution status and action details |
Get details of a CodePipeline execution, including status, trigger, source revisions, and resolved variables
| Parameter | Type | Required | Description |
|---|
awsRegion | string | Yes | AWS region (e.g., us-east-1) |
awsAccessKeyId | string | Yes | AWS access key ID |
awsSecretAccessKey | string | Yes | AWS secret access key |
pipelineName | string | Yes | Name of the pipeline |
pipelineExecutionId | string | Yes | ID of the pipeline execution |
| Parameter | Type | Description |
|---|
pipelineExecutionId | string | Pipeline execution ID |
pipelineName | string | Pipeline name |
pipelineVersion | number | Pipeline version number |
status | string | Execution status (Cancelled, InProgress, Stopped, Stopping, Succeeded, Superseded, Failed) |
statusSummary | string | Status summary for the execution |
executionMode | string | Execution mode (QUEUED, SUPERSEDED, PARALLEL) |
executionType | string | Execution type (STANDARD or ROLLBACK) |
triggerType | string | What triggered the execution (e.g., Webhook, StartPipelineExecution) |
triggerDetail | string | Detail about the trigger (e.g., user ARN) |
artifactRevisions | array | Source artifact revisions for the execution |
variables | array | Resolved pipeline variables for the execution |
List recent executions of a CodePipeline pipeline with status and source revisions
| Parameter | Type | Required | Description |
|---|
awsRegion | string | Yes | AWS region (e.g., us-east-1) |
awsAccessKeyId | string | Yes | AWS access key ID |
awsSecretAccessKey | string | Yes | AWS secret access key |
pipelineName | string | Yes | Name of the pipeline |
maxResults | number | No | Maximum number of executions to return (1-100, default 100) |
nextToken | string | No | Pagination token from a previous call |
succeededInStage | string | No | Only return executions that succeeded in this stage |
| Parameter | Type | Description |
|---|
executions | array | Pipeline execution summaries, most recent first |
nextToken | string | Pagination token for the next page of results |
List action-level execution history for a CodePipeline pipeline, including per-action status, timing, and error details
| Parameter | Type | Required | Description |
|---|
awsRegion | string | Yes | AWS region (e.g., us-east-1) |
awsAccessKeyId | string | Yes | AWS access key ID |
awsSecretAccessKey | string | Yes | AWS secret access key |
pipelineName | string | Yes | Name of the pipeline |
pipelineExecutionId | string | No | Only return action executions for this pipeline execution |
maxResults | number | No | Maximum number of action executions to return (1-100, default 100) |
nextToken | string | No | Pagination token from a previous call |
| Parameter | Type | Description |
|---|
actionExecutionDetails | array | Action execution history, most recent first |
nextToken | string | Pagination token for the next page of results |
Start a CodePipeline pipeline execution, optionally overriding pipeline variables
| Parameter | Type | Required | Description |
|---|
awsRegion | string | Yes | AWS region (e.g., us-east-1) |
awsAccessKeyId | string | Yes | AWS access key ID |
awsSecretAccessKey | string | Yes | AWS secret access key |
pipelineName | string | Yes | Name of the pipeline to start |
clientRequestToken | string | No | Idempotency token to identify a unique execution request |
variables | json | No | Pipeline variable overrides as an array of { name, value } objects |
| Parameter | Type | Description |
|---|
pipelineExecutionId | string | ID of the pipeline execution that was started |
Stop a CodePipeline pipeline execution, either finishing in-progress actions or abandoning them
| Parameter | Type | Required | Description |
|---|
awsRegion | string | Yes | AWS region (e.g., us-east-1) |
awsAccessKeyId | string | Yes | AWS access key ID |
awsSecretAccessKey | string | Yes | AWS secret access key |
pipelineName | string | Yes | Name of the pipeline |
pipelineExecutionId | string | Yes | ID of the pipeline execution to stop |
abandon | boolean | No | Abandon in-progress actions instead of letting them finish (default false) |
reason | string | No | Reason for stopping the execution (max 200 characters) |
| Parameter | Type | Description |
|---|
pipelineExecutionId | string | ID of the pipeline execution that was stopped |
Retry the failed actions (or all actions) of a failed CodePipeline stage
| Parameter | Type | Required | Description |
|---|
awsRegion | string | Yes | AWS region (e.g., us-east-1) |
awsAccessKeyId | string | Yes | AWS access key ID |
awsSecretAccessKey | string | Yes | AWS secret access key |
pipelineName | string | Yes | Name of the pipeline |
stageName | string | Yes | Name of the failed stage to retry |
pipelineExecutionId | string | Yes | ID of the pipeline execution in the failed stage |
retryMode | string | Yes | Scope of the retry: FAILED_ACTIONS or ALL_ACTIONS |
| Parameter | Type | Description |
|---|
pipelineExecutionId | string | ID of the pipeline execution with the retried stage |
Approve or reject a pending CodePipeline manual approval action. The approval token is available from Get Pipeline State on the pending approval action
| Parameter | Type | Required | Description |
|---|
awsRegion | string | Yes | AWS region (e.g., us-east-1) |
awsAccessKeyId | string | Yes | AWS access key ID |
awsSecretAccessKey | string | Yes | AWS secret access key |
pipelineName | string | Yes | Name of the pipeline |
stageName | string | Yes | Name of the stage containing the approval action |
actionName | string | Yes | Name of the manual approval action |
token | string | Yes | Approval token from Get Pipeline State for the pending approval |
status | string | Yes | Approval decision: Approved or Rejected |
summary | string | Yes | Summary explaining the approval decision (max 512 characters) |
| Parameter | Type | Description |
|---|
approvedAt | number | Epoch ms when the approval or rejection was submitted |
status | string | The submitted approval decision (Approved or Rejected) |
Prevent artifacts from transitioning into or out of a CodePipeline stage, freezing the pipeline at that point
| Parameter | Type | Required | Description |
|---|
awsRegion | string | Yes | AWS region (e.g., us-east-1) |
awsAccessKeyId | string | Yes | AWS access key ID |
awsSecretAccessKey | string | Yes | AWS secret access key |
pipelineName | string | Yes | Name of the pipeline |
stageName | string | Yes | Name of the stage to disable the transition for |
transitionType | string | Yes | Inbound to block artifacts entering the stage, Outbound to block artifacts leaving it |
reason | string | Yes | Reason the transition is disabled, shown in the pipeline console (max 300 characters) |
| Parameter | Type | Description |
|---|
pipelineName | string | Pipeline name |
stageName | string | Stage whose transition was disabled |
transitionType | string | Transition type that was disabled (Inbound or Outbound) |
Re-enable artifacts transitioning into or out of a CodePipeline stage after it was disabled
| Parameter | Type | Required | Description |
|---|
awsRegion | string | Yes | AWS region (e.g., us-east-1) |
awsAccessKeyId | string | Yes | AWS access key ID |
awsSecretAccessKey | string | Yes | AWS secret access key |
pipelineName | string | Yes | Name of the pipeline |
stageName | string | Yes | Name of the stage to enable the transition for |
transitionType | string | Yes | Inbound to allow artifacts entering the stage, Outbound to allow artifacts leaving it |
| Parameter | Type | Description |
|---|
pipelineName | string | Pipeline name |
stageName | string | Stage whose transition was enabled |
transitionType | string | Transition type that was enabled (Inbound or Outbound) |
- Category:
tools
- Type:
codepipeline