AWS SAM CLI 🐿 is a CLI tool for local development and testing of Serverless applications
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github docs: Issue templates for bug and feature requests (#726) Dec 5, 2018
designs feat(invoke): reading Metadata adding to Resources in a template (#907) Jan 11, 2019
docs chore: remove dangling rst file (#905) Jan 2, 2019
media SAM CLI Refresh πŸŽ‰ (#383) May 8, 2018
requirements Add Ruby to Supported Runtime Enum (#866) Dec 21, 2018
samcli fix: translate paths in SAR metadata during sam build (#935) Jan 15, 2019
tests fix: translate paths in SAR metadata during sam build (#935) Jan 15, 2019
.coveragerc SAM CLI Refresh πŸŽ‰ (#383) May 8, 2018
.flake8 SAM CLI Refresh πŸŽ‰ (#383) May 8, 2018
.gitignore feat: Implementation of "sam build" CLI command (#766) Nov 19, 2018
.pylintrc SAM CLI Refresh πŸŽ‰ (#383) May 8, 2018
.travis.yml feat: Support building Node.js functions (#845) Dec 12, 2018
CODE_OF_CONDUCT.md Adding standard files (#335) Mar 22, 2018
CONTRIBUTING.md docs: Add more details on Contributing through PR (#481) Jun 14, 2018
DESIGN.md fix: formatting to md from rst (#891) Jan 2, 2019
DEVELOPMENT_GUIDE.md fix: formatting to md from rst (#891) Jan 2, 2019
LICENSE SAM CLI Refresh πŸŽ‰ (#383) May 8, 2018
MANIFEST.in Release: 0.6.0 Release (#636) Aug 28, 2018
Makefile fix: Fix Makefile typo (#829) Dec 5, 2018
NOTICE SAM CLI Refresh πŸŽ‰ (#383) May 8, 2018
README.md fix links to .md files (#915) Jan 7, 2019
pytest.ini SAM CLI Refresh πŸŽ‰ (#383) May 8, 2018
setup.cfg SAM CLI Refresh πŸŽ‰ (#383) May 8, 2018
setup.py fix: formatting to md from rst (#891) Jan 2, 2019
tox.ini feat: travis CI support for Python 3.7 (#679) Oct 9, 2018

README.md

SAM CLI (Beta)

Build Status Apache-2.0 Contributers GitHub-release PyPI version

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

sam is the AWS CLI tool for managing Serverless applications written with AWS Serverless Application Model (SAM). SAM CLI can be used to test functions locally, start a local API Gateway from a SAM template, validate a SAM template, fetch logs, generate sample payloads for various event sources, and generate a SAM project in your favorite Lambda Runtime.

Main features

  • Develop and test your Lambda functions locally with sam local and Docker
  • Invoke functions from known event sources such as Amazon S3, Amazon DynamoDB, Amazon Kinesis Streams, etc.
  • Start local API Gateway from a SAM template, and quickly iterate over your functions with hot-reloading
  • Validate SAM templates
  • Get started with boilerplate Serverless Service in your chosen Lambda Runtime sam init

Get Started

Learn how to get started using the SAM CLI with these guides:

Project Status

  • Python Versions support
    • Python 2.7
    • Python 3.6
    • Python 3.7
  • Supported AWS Lambda Runtimes
    • nodejs
    • nodejs4.3
    • nodejs6.10
    • nodejs8.10
    • java8
    • python2.7
    • python3.6
    • python3.7
    • go1.x
    • dotnetcore1.0
    • dotnetcore2.0
    • dotnetcore2.1
    • ruby2.5
    • Provided
  • AWS credential support
  • Debugging support
  • Inline Swagger support within SAM templates
  • Validating SAM templates locally
  • Generating boilerplate templates
    • nodejs
    • nodejs4.3
    • nodejs6.10
    • nodejs8.10
    • java8
    • python2.7
    • python3.6
    • python3.7
    • go1.x
    • dotnetcore1.0
    • dotnetcore2.0
    • ruby2.5
    • Provided

Contributing

Contributions and feedback are welcome! Proposals and pull requests will be considered and responded to. For more information, see the CONTRIBUTING file.

A special thank you

SAM CLI uses the open source docker-lambda Docker images created by @mhart.