AWS (SAM) X AWS CloudFormation

0

What is the difference between AWS Serverless Application Model (SAM) and AWS CloudFormation?

1 Answer
2
Accepted Answer

Hello.

AWS SAM is an extension of AWS CloudFormation.
Each resource in AWS SAM is defined in a format similar to previous resource definitions in AWS CloudFormation, and by passing a template written in this format to AWS CloudFormation, you can deploy it as a stack on AWS.
In particular, AWS SAM is specialized for deploying serverless applications.
For example, Lambda, API Gateway, etc. can be defined in a more concise and abbreviated form than the amount of code written in original CloudFormation.
https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/what-is-sam.html
https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/sam-specification-template-anatomy.html

profile picture
EXPERT
answered 7 months ago
profile pictureAWS
EXPERT
reviewed 7 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions