From 89a8a1477be0e14c9b393a7a72456d0d90d3b2d3 Mon Sep 17 00:00:00 2001 From: Tyler Moon Date: Sat, 16 Feb 2019 09:16:52 -0500 Subject: [PATCH] sam: add page (#2779) --- pages/linux/sam.md | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 pages/linux/sam.md diff --git a/pages/linux/sam.md b/pages/linux/sam.md new file mode 100644 index 0000000000..8b4cfdc2f5 --- /dev/null +++ b/pages/linux/sam.md @@ -0,0 +1,28 @@ +# sam + +> AWS Serverless Application Model (SAM) CLI. +> Homepage: . + +- 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`