1 00:00:00,580 --> 00:00:03,130 ‫So let's talk about what we need to know 2 00:00:03,130 --> 00:00:04,780 ‫regarding SAM going into the exam. 3 00:00:04,780 --> 00:00:07,270 ‫So SAM is built on top of CloudFormation 4 00:00:07,270 --> 00:00:10,040 ‫and so therefore SAM needs to work with two things; 5 00:00:10,040 --> 00:00:13,770 ‫Number one, the transform header or YAML indication 6 00:00:13,770 --> 00:00:16,640 ‫which present the fact that it is a SAM templates 7 00:00:16,640 --> 00:00:18,503 ‫and the resources section which is necessary 8 00:00:18,503 --> 00:00:21,350 ‫in any CloudFormation templates. 9 00:00:21,350 --> 00:00:22,750 ‫Then some commands you need to know, 10 00:00:22,750 --> 00:00:25,590 ‫SAM build to build fetch dependencies 11 00:00:25,590 --> 00:00:27,845 ‫and create local deployment artifact artifacts. 12 00:00:27,845 --> 00:00:30,760 ‫SAM package to package and upload to Amazon S3 13 00:00:30,760 --> 00:00:32,404 ‫and generate a CloudFormation template. 14 00:00:32,404 --> 00:00:35,890 ‫And finally, SAM deploy to deploy to CloudFormation. 15 00:00:35,890 --> 00:00:37,960 ‫You can use SAM policy templates 16 00:00:37,960 --> 00:00:41,270 ‫for easy IAM policy definitions for your SAM functions 17 00:00:41,270 --> 00:00:44,504 ‫and then finally, SAM is fully integrated with CloudDeploy 18 00:00:44,504 --> 00:00:47,640 ‫to deploy your Lambda function and versions 19 00:00:47,640 --> 00:00:50,180 ‫to Lambda aliases as we've seen in the hands on. 20 00:00:50,180 --> 00:00:51,013 ‫So that's it. 21 00:00:51,013 --> 00:00:51,940 ‫I hope you like this section 22 00:00:51,940 --> 00:00:53,890 ‫and I will see you in the next lecture.