跳至內容

AWS (SAM) X AWS CloudFormation

0

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

1 個回答
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

專家
已回答 2 年前
專家
已審閱 2 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。