AWS Serverless Application Model (SAM)
Serverless applications can be defined by AWS SAM. Previously, it was known as project flourish. Natively, AWS SAM is supported by AWS CloudFormation. It expresses resources for serverless applications with simple syntax. AWS SAM with AWS CloudFormation can define AWS Lambda functions, APIs, and Amazon DynamoDB tables, which are needed by a serverless application in a simple way. With CloudFormation templates, you can define serverless resources with a few lines of code. Two new commands have also been introduced to AWS CloudFormation CLI that will simplify packaging serverless applications and deploying with AWS CloudFormation.
To deploy the application, you need to specify the resources, along with the permission policy in the AWS CloudFormation template file, which is written in YAML or JSON, a package that deploys artifacts, and finally, deploys the templates. A SAM file or template is referred by the AWS SAM model as an AWS CloudFormation template...