Passer au contenu

AWS (SAM) X AWS CloudFormation

0

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

1 réponse
2

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

EXPERT
répondu il y a 2 ans
EXPERT
vérifié il y a 2 ans

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.