AWS Serverless Application Model (AWS SAM) consists of two parts, AWS SAM templates and the AWS SAM Command Line Interface (AWS SAM CLI). AWS SAM templates provide a short-hand syntax, optimized for defining Infrastructure as Code (IaC) for serverless applications. An extension of AWS CloudFormation, you deploy AWS SAM templates directly to AWS CloudFormation, benefiting from its extensive IaC support on AWS. The AWS SAM CLI is a developer tool that puts AWS SAM features at your fingertips. Use it to quickly create, develop, and deploy serverless applications. Some of the many features of AWS SAM include SAM Accelerate, which speeds up local development and cloud testing, and SAM CLI integrations, extending AWS SAM to other tools such as the AWS CDK and Terraform.