Mastering AWS SAM: The AWS Serverless Application Model
SAM stands for Serverless Application Model.
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.
AWS SAM Overview
AWS SAM comes in two parts
- SAM Templates: Using shorthand syntax to express resources and event source mappings, it provides infrastructure as code (IaC) for serverless application.
- SAM CLI: Provides tooling for local development, debugging, build, packaging, and deployment for serverless applications.
Sam Serverless Resources
AWS:Serverless::Function
AWS:Serverless::Api
AWS:Serverless::HttpApi
AWS:Serverless::SimpleTable
AWS:Serverless::LayerVersion
AWS:Serverless::StateMachine
AWS SAM Globals
Globals help you make your SAM templates even smaller by enabling you to re-use attributes throughout. Also, using the same template to build the same infrastructure ensures consistency across multiple environments.
AWS SAM CLI
Reference
Mastering AWS SAM: The AWS Serverless Application Model
http://vincentgaohj.github.io/Blog/2021/07/03/Mastering-AWS-SAM/