sam

AWS Serverless Application Model (SAM) CLI. More information: <https://github.com/awslabs/aws-sam-cli>.

Install

All systems
curl cmd.cat/sam.sh
Debian Debian
apt-get install 9base
Ubuntu
apt-get install 9base
Arch Arch Linux
pacman -S 9base
image/svg+xml Kali Linux
apt-get install 9base
Fedora
dnf install simon
Windows (WSL2)
sudo apt-get update sudo apt-get install 9base
Raspbian
apt-get install 9base

AWS Serverless Application Model (SAM) CLI. More information: <https://github.com/awslabs/aws-sam-cli>.

  • Initialize a serverless application:
    sam init
  • Initialize a serverless application with a specific runtime:
    sam init --runtime python3.7
  • Package a SAM application:
    sam package
  • Build your Lambda function code:
    sam build
  • Run your serverless application locally:
    sam local start-api
  • Deploy an AWS SAM application:
    sam deploy

© tl;dr; authors and contributors