AWS Serverless Application Model (AWS SAM) prescribes rules for expressing Serverless applications on AWS.
Python Makefile
Clone or download
sanathkr fix: allow minor version upgrades of dependencies
Merge pull request #425 from awslabs/develop
Latest commit a09929b May 3, 2018
Permalink
Failed to load latest commit information.
Image .github Adding dotfiles for Travis, Flake, Coverage and Pylint (#359) Apr 4, 2018
Image docs docs: fix "asynchronously" typo in safe_lambda_deployments.rst (#385) Apr 20, 2018
Image examples Modernize Python 2 code to get ready for Python 3 (#365) Apr 6, 2018
Image requirements Allow minor version upgrades for package requirements (#422) May 3, 2018
Image samtranslator Allow minor version upgrades for package requirements (#422) May 3, 2018
Image tests Modernize Python 2 code to get ready for Python 3 (#365) Apr 6, 2018
Image versions docs: update SimpleTable example to include Properties (#374) Apr 13, 2018
Image .coveragerc Adding dotfiles for Travis, Flake, Coverage and Pylint (#359) Apr 4, 2018
Image .flake8 Adding dotfiles for Travis, Flake, Coverage and Pylint (#359) Apr 4, 2018
Image .gitignore release: 1.5.1 (#391) Apr 18, 2018
Image .pylintrc Adding dotfiles for Travis, Flake, Coverage and Pylint (#359) Apr 4, 2018
Image .travis.yml Adding dotfiles for Travis, Flake, Coverage and Pylint (#359) Apr 4, 2018
Image CODE_OF_CONDUCT.md Adding standard files (#338) Mar 22, 2018
Image CONTRIBUTING.md docs: add validation on make setup target (#375) Apr 17, 2018
Image DESIGN.md 🥁 SAM Translator Implementation is now open source! (#356) Apr 4, 2018
Image DEVELOPMENT_GUIDE.rst docs: update requirements paths in development guide (#396) Apr 20, 2018
Image HOWTO.md docs: add syntax highlighting to HOWTO.md (#204) Oct 7, 2017
Image LICENSE Initial commit Oct 10, 2016
Image MANIFEST.in Update packaging configuration in setup.py and MANIFEST.in (#394) Apr 25, 2018
Image Makefile release: update setup.py (#381) Apr 18, 2018
Image NOTICE 🥁 SAM Translator Implementation is now open source! (#356) Apr 4, 2018
Image README.md docs: add Travis and PyPi badges to README (#392) Apr 20, 2018
Image aws_sam_introduction.png adding AWS SAM intro graphic (#117) Apr 5, 2017
Image pytest.ini 🥁 SAM Translator Implementation is now open source! (#356) Apr 4, 2018
Image setup.cfg Update packaging configuration in setup.py and MANIFEST.in (#394) Apr 25, 2018
Image setup.py Update packaging configuration in setup.py and MANIFEST.in (#394) Apr 25, 2018
Image tox.ini release: update setup.py (#381) Apr 18, 2018

README.md

Build Status PyPI version

Logo

AWS Serverless Application Model (AWS SAM)

You can use SAM to define serverless applications in simple and clean syntax.

This GitHub project is the starting point for AWS SAM. It contains the SAM specification, the code that translates SAM templates into AWS CloudFormation stacks, general information about the model, and examples of common applications.

The SAM specification and implementation are open sourced under the Apache 2.0 license. The current version of the SAM specification is available at AWS SAM 2016-10-31.

Creating a serverless application using SAM

To create a serverless application using SAM, first, you create a SAM template: a JSON or YAML configuration file that describes your Lambda functions, API endpoints and the other resources in your application. Then, you test, upload, and deploy your application using the SAM Local CLI. During deployment, SAM automatically translates your application’s specification into CloudFormation syntax, filling in default values for any unspecified properties and determining the appropriate mappings and invocation permissions to setup for any Lambda functions.

Read the How-To Guide and see examples to learn how to define & deploy serverless applications using SAM.

Contributing new features and enhancements to SAM

You can build serverless applications faster and further simplify your development of serverless applications by defining new event sources, new resource types, and new parameters within SAM. Additionally, you can modify SAM to integrate it with other frameworks and deployment providers from the community for building serverless applications.

Read the Development Guide for in-depth information on how to start making changes.

Join the SAM developers channel (#samdev) on Slack to collaborate with fellow community members and the AWS SAM team.