From the course: Learning Amazon Web Services Lambda

Unlock the full course today

Join today to access over 24,400 courses taught by industry experts.

Create an AWS SAM project

Create an AWS SAM project

- [Instructor] Now that you have AWS SAM installed and configured in your computer, it is time to create your first SAM project. To create a SAM project, we'll start by using the sam init. So the sam init is a initialization experience that will guide you through many questions. So you can tune how your project will look like. So let's do it. In your terminal, you can type sam init and that will guide you for the steps. So the first step is to select if you want to start with a quick template or some more custom. So let's put one. Then you have a lot of templates to choose from, from a Hello World to things that are more complex. Let's start with a Hello World Example. It tells me that the most popular runtime and package is Python and zip. If you're fine with that, you can type Yes, but I will prefer to use Node.js. So I will put No here. For me, the most comfortable one is Node 18, so I will put 11, but if you want…

Contents