sam
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
License and Disclaimer
The content on this page is copyright © 2014—present the tldr-pages team and contributors.This page is used with permission under Creative Commons Attribution 4.0 International License.
While we do attempt to make sure content is accurate, there isn't a warranty of any kind.