Now that we have the basics covered, let us stitch together and deploy a simple application using SAM. To do so, we are going to use a readymade template provided by Lambda itself. Go to the AWS Lambda dashboard and select the option Create a Lambda function. Next, from the Select blueprint page, type in the filter microservice as shown below. Select the download icon adjoining to the blueprint and download the associated microservice-http-endpoint.zip on your workstation.
The following blueprint will provide a simple backend service using API Gateway that is able to read and write data to a particular DynamoDB table using a simple Lambda function!
Once the zip is downloaded, extract it's contents ...