cdkbase
← All posts

Are There Boilerplates That Integrate Out-of-the-Box with AWS CDK?

6 min readAWS CDKBoilerplateInfrastructure as CodeSaaS

Short answer: yes. But there’s a catch worth understanding before you pick one — most templates that advertise “AWS CDK support” ship little more than a starter config file, and that’s a very different thing from a boilerplate whose entire stack is defined in CDK and deploys with one command. Here’s how to tell them apart.

What “out-of-the-box CDK integration” should actually mean

The bar isn’t “there’s a cdk.json in the repo.” A boilerplate that genuinely integrates with AWS CDK should give you all of this on day one:

Why most “CDK boilerplates” fall short

Search around and you’ll find three common disappointments. Some templates are app-only — a polished frontend or API with deployment left as “your problem,” CDK or otherwise. Some use a different IaC tool entirely (Serverless Framework, SAM, or Terraform) and mention CDK only in passing. And some include CDK but only for a single resource — one function, one bucket — leaving the auth, database, and frontend wiring for you to invent. In each case you still have to build the hard part: the integrated, multi-stack infrastructure that makes the app real.

What a real one looks like

cdkbase is built CDK-first by design. The entire application is expressed as a topology of nine CDK stacks — DNS, auth, database, API, billing, two MCP servers, and the web SPA and SSR frontends — wired together with typed references and deployed with one command:

pnpm run deploy   # builds the frontends, then cdk deploy --all

There’s no separate infrastructure project to reconcile and no hand-copied ARNs: the same TypeScript that builds your app defines the cloud it runs on. Add a feature and its stack in the same language; remove one by deleting its stack file and folder. Because it’s CDK on CloudFormation, every deploy also leaves an auditable record of exactly what was created — a property an API-driven tool doesn’t give you.

A checklist for evaluating any CDK boilerplate

Before you commit to one, ask:

If the answer to those is yes, the CDK integration is real — not a checkbox.

The bottom line

So: yes, boilerplates that integrate out-of-the-box with AWS CDK exist — just hold them to the standard of “the whole stack deploys with one command,” not “there’s a CDK file in the repo.” That higher bar is exactly what cdkbase is, and it pairs the CDK foundation with auth, billing, a database, and frontends already wired in. See how the stack fits together or the getting-started guide.

Skip the wiring and start from a working stack

cdkbase is a fork-ready AWS serverless template that ships everything in this article — CDK infrastructure, Cognito auth, Aurora DSQL, a Hono API, Stripe billing, and web/SPA/mobile frontends — already wired together and built for Claude Code. See pricing or read the getting-started guide.