Using AWS Serverless Application Model (SAM) to Develop and Deploy Serverless Applications
Overview of AWS SAM
AWS SAM is an open source framework designed specifically for building serverless applications on AWS. It provides a simplified definition of the serverless infrastructure needed in AWS CloudFormation syntax. AWS SAM is an extension of CloudFormation and provides a shorthand syntax to express functions, APIs, databases, and event source mappings. With SAM, you can define your serverless application with just a few lines of code in a YAML configuration file.
Key Components of AWS SAM
AWS SAM primarily consists of three primary components:
- SAM template: A configuration file that follows the YAML format. This file defines the resources in your serverless application using the SAM syntax. You use the template to declare the resources you want to provision for your serverless application. The resources you would declare in a CloudFormation template can also be...