AWS Serverless Application Model (SAM) - sam

AWS Serverless Application Model (SAM) CLI. More information: GitHub - aws/aws-sam-cli: CLI tool to build, test, debug, and deploy Serverless applications using AWS SAM.

  • 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