Softwr

Developer Tools · head to head

AWS CDK vs Stoplight

AWS CDK logo

AWS CDK

Developer Tools

Open source framework for defining AWS infrastructure in programming languages

From
Free
Free plan
Yes
Stoplight logo

Stoplight

APIs

API design, documentation, and governance platform

From
Free
Free plan
Yes

The short version

  • AWS CDK is an Apache 2; Stoplight is a complete API design and governance platform.
  • AWS CDK is free; Stoplight starts at $44/yr.
  • Only AWS CDK lists construct Library of reusable components; only Stoplight lists API Design.
  • Where AWS CDK falls short: targets AWS only, so it does not provision resources on other clouds.
  • Where Stoplight falls short: the free plan allows one project and one user.

How do AWS CDK and Stoplight differ?

AWS CDK and Stoplight differ on pricing model (Open-source against Subscription), platforms and category (Developer Tools against APIs). Only the attributes on which AWS CDK and Stoplight actually diverge.

Attributes where AWS CDK and Stoplight differ
AttributeAWS CDKStoplight
Pricing modelOpen-sourceSubscription
PlatformsWindows, macOS, LinuxWeb
CategoryDeveloper ToolsAPIs

Identical on both: starting price (Free), free tier (Yes).

Not yet recorded: founded for AWS CDK.

Which features does each one have?

They share no listed features; 8 appear only for AWS CDK and 9 only for Stoplight. 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 Stoplight

  • API Design
  • API Documentation
  • Governance
  • GitHub
  • GitLab
  • Jenkins
  • Azure DevOps
  • Web support

What is each one used for?

AWS CDK is most often brought in for defining AWS infrastructure in TypeScript or Python; Stoplight for API design and documentation. The jobs each tool is most often brought in to do.

AWS CDK

  • Defining AWS infrastructure in TypeScript or Pythonnot Stoplight
  • Reusable internal infrastructure modulesnot Stoplight
  • Serverless application stacksnot Stoplight
  • Testing infrastructure with unit testsnot Stoplight
  • Standardising environments across accountsnot Stoplight

Stoplight

  • API design and documentationnot AWS CDK
  • API governance and standardsnot AWS CDK
  • Team collaboration on API developmentnot AWS CDK
  • API mocking and testingnot AWS CDK

Where do AWS CDK and Stoplight fall short?

AWS CDK's most cited limit: targets AWS only, so it does not provision resources on other clouds. Stoplight's: the free plan allows one project and one user. 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

Stoplight

  • The free plan allows one project and one user
  • Private projects, multi branch support and custom domains start at the Startup plan, $113 a month billed annually
  • SSO and shared style guides are Pro Team only, at $362 a month billed annually
  • Seats beyond each plan's allowance are $11 to $27 each per month depending on tier and billing period

How much do AWS CDK and Stoplight cost?

AWS CDK is free to use; Stoplight has a free plan, with paid plans from $44/yr. Plan by plan below, from each vendor's own pricing page.

AWS CDK

Free

No published plan breakdown. See the AWS CDK review.

Stoplight

Free
  • FreeFree
    • 1 project
    • 1 user
    • Basic API design and documentation features
  • Basic$56/mo
    • Annual: $44/user/year
    • 3 included users; $14 per additional user (monthly)
    • Unlimited projects
  • Startup$147/mo
    • Annual: $113/user/year
    • 8 included users; $14 per additional user (monthly)
    • Private projects
  • Pro Team$453/mo
    • Annual: $362/user/year
    • 15 included users; $27 per additional user (monthly)
    • Up to 20 teams

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 Stoplight if

  • You need api design.
  • You want to start without paying.
  • You also want api documentation.

Questions people ask

Is AWS CDK or Stoplight better?
It depends on the job. AWS CDK fits defining AWS infrastructure in TypeScript or Python; Stoplight fits aPI design and documentation. AWS CDK starts at Free and Stoplight at Free.
Which is cheaper, AWS CDK or Stoplight?
AWS CDK starts at Free and Stoplight at Free.
Does AWS CDK or Stoplight run on more platforms?
AWS CDK runs on Windows, macOS, Linux. Stoplight runs on Web.
Can I use AWS CDK for free?
Both have a free tier, so you can try either at no cost before committing.
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 Stoplight is typically brought in for.
What can AWS CDK do that Stoplight 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. Stoplight covers API Design, API Documentation, Governance, GitHub.

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.

Source
Stoplight: How much does Stoplight cost?

Stoplight starts with a free plan (1 project, 1 user), then Basic at $56/month per user (or $44/year), Startup at $147/month per user (or $113/year), Pro Team at $453/month per user (or $362/year), and Enterprise at custom pricing.

Source
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.

Source
Stoplight: How many included users are in each Stoplight plan?

Basic includes 3 users, Startup includes 8 users, and Pro Team includes 15 users. Additional users beyond the included count cost $14/month for Basic and Startup, or $27/month for Pro Team.

Source
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.

Source
Stoplight: Does Stoplight offer a free trial?

Yes, all paid Stoplight plans include a 14-day free trial. The free plan has no trial period as it is always available.

Source
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.

Source
Stoplight: Does Stoplight's free plan have limitations?

Yes, the free plan includes only 1 project and 1 user. Users viewing public documentation anonymously are not counted toward the 1-user limit.

Source
Share

Related pages

Other head to heads