1. 11
    Run lambda functions built with CDK locally using AWS SAM
    2m 37s

Run lambda functions built with CDK locally using AWS SAM

InstructorTomasz Łakomy

Share this video with your friends

Send Tweet

Building and debugging lambda functions can be tricky.

Once a function becomes non-trivial, the cycle of:

  • build
  • deploy to AWS
  • test
  • fix
  • repeat

wastes a lot of time. Luckily, there's an alternative.

In this quick lesson we're going to learn how to use AWS Serverless Application Model (SAM) command line interface in order to execute a lambda function built with CDK locally.

This lesson is a bit optional because it touches a topic that is not going to be relevant for the rest of this course (although running lambda functions locally is really useful).

If you'd like to learn more about AWS SAM, there's a whole collection about it: Build serverless applications with AWS Serverless Application Model (AWS SAM)