Monday, January 27, 2020

AWS SAM: Serverless Application Model

AWS Serverless Application Model - Amazon Web Services

The AWS Serverless Application Model (SAM) is an open-source framework for building serverless applications. It provides shorthand syntax to express functions, APIs, databases, and event source mappings. With just a few lines per resource, you can define the application you want and model it using YAML. During deployment, SAM transforms and expands the SAM syntax into AWS CloudFormation syntax, enabling you to build serverless applications faster.

To get started with building SAM-based applications, use the AWS SAM CLI. SAM CLI provides a Lambda-like execution environment that lets you locally build, test, and debug applications defined by SAM templates. You can also use the SAM CLI to deploy your applications to AWS.


AWS Serverless Application Model (SAM) Command Line Interface – Build, Test, and Debug Serverless Apps Locally (blog post)