Developer Tools · head to head
AWS CDK vs AWS CodePipeline

AWS CDK
Developer Tools
Open source framework for defining AWS infrastructure in programming languages
- From
- Free
- Free plan
- Yes

AWS CodePipeline
Developer Tools
Managed release pipelines on AWS billed per active pipeline or per action minute
- From
- $0.002/minute
- Free plan
- No
The short version
- AWS CDK is an Apache 2.
- AWS CDK is free; AWS CodePipeline starts at $0.002/mo.
- Only AWS CDK lists construct Library of reusable components; only AWS CodePipeline lists stages and actions.
- Where AWS CDK falls short: targets AWS only, so it does not provision resources on other clouds.
- Where AWS CodePipeline falls short: it orchestrates but does not build, so you pay for CodeBuild or another build service on top of the pipeline charge.
How do AWS CDK and AWS CodePipeline differ?
AWS CDK and AWS CodePipeline differ on starting price (Free against $0.002/minute), pricing model and free tier (Yes against No). Only the attributes on which AWS CDK and AWS CodePipeline actually diverge.
| Attribute | AWS CDK | AWS CodePipeline |
|---|---|---|
| Starting price | Free | $0.002/minute |
| Pricing model | Open-source | Per active pipeline or per action execution minute |
| Free tier | Yes | No |
| Platforms | Windows, macOS, Linux | Web |
Not yet recorded: category for AWS CodePipeline.
Which features does each one have?
They share no listed features; 8 appear only for AWS CDK and 6 only for AWS CodePipeline. Drawn from each product's published feature list. An absence here means we hold no record of it - not that the product lacks it.
Only in AWS CDK
- Construct Library of reusable components
- CDK CLI for synthesis and deployment
- Programmatic CDK Toolkit Library
- Support for TypeScript, JavaScript, Python, Java, C# and Go
- Deployment through AWS CloudFormation
- Custom and shareable constructs
- Construct Hub registry
- Open source under Apache 2.0
Only in AWS CodePipeline
- Stages and actions
- V2 pipeline type
- Manual approvals
- Cross-account deploys
- Third-party actions
- Execution history
What is each one used for?
AWS CDK is most often brought in for defining AWS infrastructure in TypeScript or Python; AWS CodePipeline for teams that want IAM-controlled pipelines without hosting Jenkins. The jobs each tool is most often brought in to do.
AWS CDK
- Defining AWS infrastructure in TypeScript or Pythonnot AWS CodePipeline
- Reusable internal infrastructure modulesnot AWS CodePipeline
- Serverless application stacksnot AWS CodePipeline
- Testing infrastructure with unit testsnot AWS CodePipeline
- Standardising environments across accountsnot AWS CodePipeline
AWS CodePipeline
- Delivering a CloudFormation or CDK application from commit to production inside one AWS organisationnot AWS CDK
- Running staged deployments with manual approval gates across several AWS accountsnot AWS CDK
- Teams that want IAM-controlled pipelines without hosting Jenkinsnot AWS CDK
- Orchestrating CodeBuild, Lambda and ECS deploys in one visual workflownot AWS CDK
Where do AWS CDK and AWS CodePipeline fall short?
AWS CDK's most cited limit: targets AWS only, so it does not provision resources on other clouds. AWS CodePipeline's: it orchestrates but does not build, so you pay for CodeBuild or another build service on top of the pipeline charge. Documented limitations, not opinions. Every one is a constraint you would hit in normal use.
AWS CDK
- Targets AWS only, so it does not provision resources on other clouds
- Deploys through CloudFormation, so its resource coverage and limits apply
- Infrastructure written in code can be harder to review than declarative templates
- The AWS resources it creates are billed separately at standard AWS rates
AWS CodePipeline
- It orchestrates but does not build, so you pay for CodeBuild or another build service on top of the pipeline charge
- The workflow definition is more rigid than YAML-in-repo tools like GitHub Actions or GitLab CI, and complex branching logic often needs custom Lambda actions
- Pipelines run in a single Region, and cross-Region or cross-account deployment needs artefact buckets and role setup that teams often get wrong
- V2 billing per action minute includes time spent waiting on approval or external actions, which makes long-running actions costlier than they appear
- Third-party ecosystem and community examples are smaller, so integrating non-AWS tooling takes more custom work
How much do AWS CDK and AWS CodePipeline cost?
AWS CDK is free to use; AWS CodePipeline starts at $0.002/mo. Plan by plan below, from each vendor's own pricing page.
AWS CDK
FreeNo published plan breakdown. See the AWS CDK review.
AWS CodePipeline
$0.002/minute- V1 pipeline$1/mo
- $1.00 per active pipeline per month
- One free active pipeline per month
- No charge for pipelines with no code changes in the month
- V2 pipeline$0.002/minute
- $0.002 per action execution minute, rounded up per action
- 100 free action execution minutes per month across the account
Which should you pick?
Choose AWS CDK if
- You need construct library of reusable components.
- You want to start without paying.
- You work on Windows, macOS, Linux.
- You also want cdk cli for synthesis and deployment.
Choose AWS CodePipeline if
- You need stages and actions.
- You also want v2 pipeline type.
Questions people ask
- Is AWS CDK or AWS CodePipeline better?
- It depends on the job. AWS CDK fits defining AWS infrastructure in TypeScript or Python; AWS CodePipeline fits delivering a CloudFormation or CDK application from commit to production inside one AWS organisation. AWS CDK starts at Free and AWS CodePipeline at $0.002/minute.
- Which is cheaper, AWS CDK or AWS CodePipeline?
- AWS CDK has a free tier; the other does not. Paid plans start at Free for AWS CDK and $0.002/minute for AWS CodePipeline.
- Does AWS CDK or AWS CodePipeline run on more platforms?
- AWS CDK runs on Windows, macOS, Linux. AWS CodePipeline runs on Web.
- Can I use AWS CDK for free?
- Yes. AWS CDK has a free tier, so you can try it without paying. AWS CodePipeline starts at $0.002/minute.
- What is AWS CDK best used for?
- AWS CDK is most often used for defining aws infrastructure in typescript or python, reusable internal infrastructure modules, serverless application stacks, testing infrastructure with unit tests. Of those, defining aws infrastructure in typescript or python and reusable internal infrastructure modules are not what AWS CodePipeline is typically brought in for.
- What can AWS CDK do that AWS CodePipeline cannot?
- AWS CDK covers Construct Library of reusable components, CDK CLI for synthesis and deployment, Programmatic CDK Toolkit Library, Support for TypeScript, JavaScript, Python, Java, C# and Go. AWS CodePipeline covers Stages and actions, V2 pipeline type, Manual approvals, Cross-account deploys.
Answered from the vendors’ own pages
AWS CDK: Which languages does AWS CDK support?
The AWS documentation lists TypeScript, JavaScript, Python, Java, C# and .NET, and Go. Infrastructure is defined as constructs composed into stacks and apps.
SourceAWS CodePipeline: How much does CodePipeline cost?
V1 pipelines are $1.00 per active pipeline per month; V2 pipelines are $0.002 per action execution minute, per AWS. One V1 pipeline or 100 V2 minutes per month are free.
AWS CDK: How does AWS CDK deploy resources?
CDK apps are synthesised and deployed through AWS CloudFormation. The documentation states this gives predictable, repeatable deployments with rollback on error.
SourceAWS CodePipeline: What is the difference between V1 and V2 pipelines?
V1 is flat per active pipeline. V2 adds pipeline variables, more trigger options and per-minute billing.
AWS CDK: Is AWS CDK free?
It is open source under the Apache 2.0 licence according to its GitHub repository. The AWS resources you provision with it are charged at their normal rates.
SourceAWS CodePipeline: Does CodePipeline run my builds?
No. It calls CodeBuild, Jenkins or another action provider, which is billed separately.
AWS CDK: When was AWS CDK first released?
Wikipedia reports a developer preview announced in 2018 and general availability on 11 July 2019. CDK v2 followed in 2021.
SourceRelated pages
More on AWS CodePipeline
Other head to heads
- AWS CDK vs Terraform
- AWS CDK vs HCP Terraform
- AWS CDK vs Atlantis
- AWS CDK vs Pants Build
- AWS CDK vs Frappe
- AWS CDK vs Spacelift
- AWS CDK vs Eclipse
- AWS CDK vs Python
- AWS CDK vs Backstage
- AWS CDK vs Jitsu
- AWS CDK vs Notepad++
- AWS CDK vs Steampipe
- AWS CDK vs Dagger
- AWS CDK vs Dependabot
- AWS CDK vs Distroless
- AWS CDK vs Ghostty
- AWS CDK vs JFrog Artifactory
- AWS CDK vs Nixpacks
- AWS CDK vs Jenkins
- AWS CDK vs GitLab CI/CD
- AWS CDK vs Depot
- AWS CDK vs Blacksmith
- AWS CDK vs Spinnaker
- AWS CDK vs GitHub
- AWS CDK vs LaunchDarkly
- AWS CDK vs Nx Cloud
- AWS CDK vs Earthly
- AWS CDK vs Namespace
- AWS CDK vs WarpBuild
- AWS CDK vs Sublime Text
- AWS CDK vs Buildkite
- AWS CDK vs Bazel
- AWS CDK vs Ona (formerly Gitpod)
- AWS CodePipeline vs Terraform
- AWS CodePipeline vs HCP Terraform
- AWS CodePipeline vs Atlantis
- AWS CodePipeline vs Pants Build
- AWS CodePipeline vs Frappe
- AWS CodePipeline vs Spacelift
- AWS CodePipeline vs Eclipse
- AWS CodePipeline vs Python
- AWS CodePipeline vs Backstage
- AWS CodePipeline vs Jitsu
- AWS CodePipeline vs Notepad++
- AWS CodePipeline vs Steampipe
- AWS CodePipeline vs Dagger
- AWS CodePipeline vs Dependabot
- AWS CodePipeline vs Distroless
- AWS CodePipeline vs Ghostty
- AWS CodePipeline vs JFrog Artifactory
- AWS CodePipeline vs Nixpacks
- AWS CodePipeline vs Jenkins
- AWS CodePipeline vs GitLab CI/CD
- AWS CodePipeline vs Depot
- AWS CodePipeline vs Blacksmith
- AWS CodePipeline vs Spinnaker
- AWS CodePipeline vs GitHub
- AWS CodePipeline vs LaunchDarkly
- AWS CodePipeline vs Nx Cloud
- AWS CodePipeline vs Earthly
- AWS CodePipeline vs Namespace
- AWS CodePipeline vs WarpBuild
- AWS CodePipeline vs Sublime Text
- AWS CodePipeline vs Buildkite
- AWS CodePipeline vs Bazel
- AWS CodePipeline vs Ona (formerly Gitpod)
