Tuesday, 9 February 2021

SAM - Serverless Application Model

AWS SAM is built on top of AWS CloudFormation. 

Two Parts of Serverless Application Model :-

SAM Template:

Using shorthand syntax to express resources and event source mapping, It provide infrastructure as Code [IaC] for serverless application.

SAM CLI : 

Provide tooling for local development, debugging , build, packaging and  deployment for serverless application.

 

source: internet

What SAM Template is comprised of can be found on GIT repo :

https://github.com/aws/serverless-application-model/blob/master/versions/2016-10-31.md


source:internet

SAM resources : 

AWS::Serverless::Function

AWS::Serverless::Api

AWS::Serverless::HttpApi

AWS::Serverless::SimpleTable

AWS::Serverless::LayerVersion

AWS::Serverless:: Application

AWS::Serverless:: StateMachine

           few more.....


Thank you!




Satender Kumar Mall
Twitter: @satenderiiit