aws-codepipeline
Manage continuous delivery pipelines on AWS.
TLDR
Start a pipeline execution
SYNOPSIS
aws codepipeline command [options]
DESCRIPTION
aws codepipeline manages AWS CodePipeline, a continuous delivery service that automates release pipelines for application updates.
Pipelines consist of stages (Source, Build, Test, Deploy) containing actions that perform work like pulling code, running builds, or deploying to environments. Stages execute sequentially, with transitions between them.
start-pipeline-execution triggers a new run using the latest source revision or specified overrides. Pipelines can also be triggered automatically by source changes, schedules, or webhooks.
Pipeline modes control execution behavior: SUPERSEDED (default) cancels older executions when newer ones start, QUEUED processes executions in order, and PARALLEL allows concurrent executions.
Use disable-stage-transition to create a manual approval gate or pause deployments for maintenance.
PARAMETERS
start-pipeline-execution
Manually trigger a pipeline runget-pipeline
Get pipeline definition and metadataget-pipeline-state
Get current state of all stagesget-pipeline-execution
Get details of a specific executionlist-pipelines
List all pipelines in the accountlist-pipeline-executions
List executions for a pipelinecreate-pipeline
Create a new pipelineupdate-pipeline
Modify pipeline definitiondelete-pipeline
Remove a pipelineenable-stage-transition
Allow transitions into a stagedisable-stage-transition
Block transitions into a stage--name pipeline-name
Name of the pipeline--pipeline-name name
Pipeline name (alternative parameter)--pipeline-execution-id id
Execution identifier--variables vars
Pipeline variables (name=KEY,value=VAL)--source-revisions revisions
Override source versions for execution--stage-name name
Name of the stage--transition-type type
Inbound or Outbound transition
CAVEATS
Pipelines have concurrent execution limits. Disabling transitions blocks all following stages, not just the next one. Pipeline variables must be defined in the pipeline before use. Execution history is retained for 12 months.
HISTORY
AWS CodePipeline launched in July 2015 as AWS's continuous delivery service. V2 pipelines with enhanced features including pipeline variables and triggers were introduced in 2023. The service integrates with CodeCommit, CodeBuild, CodeDeploy, and third-party tools like GitHub and Jenkins.
SEE ALSO
aws(1), aws-codebuild(1), aws-codedeploy(1), aws-codecommit(1)
