You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/install-guides/aws-sam-cli.md
+17-18Lines changed: 17 additions & 18 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -18,9 +18,7 @@ tool_install: true
18
18
weight: 1
19
19
---
20
20
21
-
The AWS Serverless Application Model (SAM) CLI is an open-source command-line tool that you can use to build, test, and deploy serverless applications. The SAM CLI provides a Lambda-like execution environment that lets you locally build, test and debug applications defined by AWS SAM templates.
22
-
23
-
It is available for a variety of operating systems and Linux distributions and supports the Arm architecture.
21
+
The Amazon Web Services (AWS) Serverless Application Model (SAM) CLI is an open-source command-line tool that you can use to build, test, and deploy serverless applications. The SAM CLI provides a Lambda-like execution environment that lets you locally build, test and debug applications defined by AWS SAM templates. It is available for a variety of operating systems and Linux distributions, and supports the Arm architecture.
24
22
25
23
## Before you begin
26
24
@@ -38,9 +36,9 @@ The output should be:
38
36
aarch64
39
37
```
40
38
41
-
If you see a different result, you are not using an Arm computer running 64-bit Linux.
39
+
If you see a different result, you are not using an Arm-based computer running 64-bit Linux.
42
40
43
-
Running the AWS SAM CLI requires Docker. Refer to the [Docker](/install-guides/docker/)install guide for installation instructions. Confirm Docker is running before installing the SAM CLI.
41
+
Running the AWS SAM CLI requires Docker. Refer to the [Docker](/install-guides/docker/)Install Guide for installation instructions. Confirm Docker is running before installing the SAM CLI.
44
42
45
43
Python and Python pip are also required to run the SAM CLI example.
Use the AWS SAM CLI to build and deploy a simple "Hello World" serverless application which includes the line `uname -m` to check the platform it is running on.
91
+
You can use the AWS SAM CLI to build and deploy a simple "Hello World" serverless application that includes the line `uname -m` to check the platform it is running on, by following these steps.
93
92
94
93
1. Create the project
95
94
96
-
Adjust the runtime argument if you have a different version of Python.
95
+
Use the code below, adjusting the runtime argument if you have a different version of Python:
0 commit comments