Initialising the Application
In this lesson, you will learn how to initialize the web service project using AWS SAM.
This chapter introduces the basic workflow of serverless deployments. You’ll learn how to manage infrastructure with the AWS Serverless Application Model (SAM) and CloudFormation, and how to use API Gateway to send HTTP requests to Lambda functions.
The SAM command-line tool #
SAM command-line tools can generate sample projects and events so that you can get started easily.
The sam init
command #
Let’s dive right in and create a sample web service backed by a Lambda function. You will use the code
directory to execute the commands. To create a simple SAM project in a new ...