AWS SAM extends AWS CloudFormation to provide a simplified way of defining the Amazon API Gateway APIs, AWS Lambda functions, and Amazon DynamoDB tables needed by your serverless application. Now, you can use new resource types to write CloudFormation templates that are optimized for defining serverless applications with only a few lines of text.