View a markdown version of this page

Locally test and build AWS CDK applications with the AWS SAM CLI - AWS Cloud Development Kit (AWS CDK) v2

Locally test and build AWS CDK applications with the AWS SAM CLI

You can use the AWS SAM CLI to locally test and build serverless applications defined using the AWS Cloud Development Kit (AWS CDK). Because the AWS SAM CLI works within the AWS CDK project structure, you can still use the AWS CDK CLI reference for creating, modifying, and deploying your AWS CDK applications.

For details on using AWS SAM, see Getting started with AWS SAM in the AWS Serverless Application Model Developer Guide.