Implementing AWS: Design, Build, and Manage your Infrastructure
by Yohan Wadia, Rowan Udell, Lucas Chan, Udita Gupta
Writing SAM templates
Before we get going with writing our own SAM templates, it is important to understand a few SAM terms and terminologies. For starters; SAM is built on top of the standard CloudFormation service itself, so most of the SAM templates are nothing more than simplified CloudFormation templates that you can deploy just as you would deploy a standard CloudFormation stack! Even the concepts of resources, parameters, properties, and so on are all reused in SAM as well. The main difference however, is that simplified support for serverless AWS services namely API Gateway, Lambda functions, and DynamoDB makes these templates far easier to write and maintain than traditional CloudFormation ones.
Writing a SAM template starts off ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access