跳至内容

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 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。