{
  "id": 20127740,
  "title": "Supercharge AWS Emulator for AWS CDK Development with cdkd",
  "url": "https://urgent.news/2026/11/15/supercharge-aws-emulator-for-aws-cdk-development-with-cdkd",
  "topic": "tech",
  "section": "Tech",
  "published": "2026-11-15T06:36:20.000Z",
  "source": {
    "name": "Dev.to",
    "slug": "dev-to",
    "url": "https://dev.to/aws-heroes/supercharge-aws-emulator-for-aws-cdk-development-with-cdkd-2bbd"
  },
  "original_language": "en",
  "account": "When using AWS Emulator for development with AWS CDK, integrating it with cdkd provides several benefits. cdkd automatically configures the connection to AWS Emulator, and resolves environment variables for Lambda and other resources from your CDK code, eliminating the need for a .env file. You can easily switch the connection target per service, such as using real AWS for certain aspects while the application writes to AWS Emulator. This approach allows application code to run directly from source without deployment, enabling immediate testing of changes. cdkd (CDK Direct) is a tool that deploys CDK apps quickly by calling the AWS SDK directly, providing an alternative to the CDK CLI for deploying to real AWS environments. It includes the cdkd local subcommand, which runs application resources defined in your CDK app locally. With cdkd local, only the application code runs locally, while AWS resources accessed by the app can be emulated or mocked, or connected to real AWS resources. When using AWS Emulator with cdkd, the process involves starting AWS Emulator, creating necessary resources inside Emulator, and then running the app with cdkd local, sending AWS calls to Emulator. This setup allows for efficient development and testing of AWS CDK applications.",
  "summary": "TL;DR When you use AWS Emulator for development with AWS CDK, combining it with cdkd gives you the following benefits: cdkd automatically configures the connection to AWS Emulator, and environment variables for Lambda and other resources are resolved automatically from your CDK code, so you don't need a .env file You can freely switch the connection target per service, for example using real AWS…",
  "key_points": [
    "cdkd simplifies AWS Emulator integration for CDK development.",
    "cdkd configures AWS Emulator connection and resolves Lambda environment variables.",
    "cdkd local runs app code locally while emulating or mocking AWS resources."
  ],
  "editors_take": "Integrating cdkd with AWS Emulator streamlines the development lifecycle by removing manual configuration steps and allowing developers to test code changes instantly without waiting for full cloud deployments.",
  "illustration": null,
  "coverage": {
    "outlets": 1,
    "also_reported_by": []
  },
  "ai_generated": true,
  "disclaimer": "Summaries, key points and the editor’s take are written by software from other outlets’ reporting and may contain errors — always check the linked original."
}