{"repo":"aws/serverless-application-model","free":true,"listed":false,"github":"https://github.com/aws/serverless-application-model","clone":"git clone https://github.com/aws/serverless-application-model.git","description":"The AWS Serverless Application Model (AWS SAM) transform is a AWS CloudFormation macro that transforms SAM templates into CloudFormation templates.","language":"Python","stars":9561,"topics":["serverless","aws","lambda","aws-sam","sam","sam-specification","serverless-applications","serverless-application-model"],"license":"Apache-2.0","category":"cli-tools","readme_excerpt":"AWS SAM transform The AWS Serverless Application Model (AWS SAM) transform is a AWS CloudFormation macro that transforms SAM templates into CloudFormation templates. To use the SAM transform, add AWS::Serverless-2016-10-31 to the Transform section of your CloudFormation template. Benefits of using the SAM transform include: - Built-in best practices and sane defaults. - Local testing and debugging with the AWS SAM CLI. - Extension of the CloudFormation template syntax. Getting started Save the following as template.yaml : And deploy it with the SAM CLI: The AWS::Serverless::Function resource will create a AWS Lambda function that logs events it receives. Under the hood, the template is transformed into the JSON equivalent of the following CloudFormation template: For a more thorough introduction, see the this tutorial in the Developer Guide. Contributing Setting up development environment You'll need to have Python 3.8+ installed. Create a virtual environment: Set up dependencies: Run tests: See DEVELOPMENT GUIDE.md for further development instructions, and CONTRIBUTING.md for the contributing guidelines. Getting help The best way to interact with the team is through GitHub. You can either create an issue or start a discussion. You can also join the #samdev channel on Slack. Learn more Workshops and tutorials - The Complete AWS SAM Workshop - AWS Serverless Developer Experience Workshop - Deploying a \"Hello, World!\" application - Testing in the cloud using the SAM CLI Documen","default_branch":null,"files":null,"tree":[],"storefront":"/r/aws","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/aws/serverless-application-model/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}