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: examples/README.md
+7-3Lines changed: 7 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,9 @@ Each example can be copied from its subdirectory and used independently of the r
5
5
6
6
## Examples
7
7
8
-
*[powertools-examples-core](powertools-examples-core) - Demonstrates the core logging, tracing, and metrics modules
8
+
*[powertools-examples-core](powertools-examples-core) - Demonstrates the core logging, tracing, and metrics modules with different build tools
9
+
*[SAM](./powertools-examples-core/sam)
10
+
*[CDK](./powertools-examples-core/cdk)
9
11
*[powertools-examples-idempotency](powertools-examples-idempotency) - An idempotent HTTP API
10
12
*[powertools-examples-parameters](powertools-examples-parameters) - Uses the parameters module to provide runtime parameters to a function
11
13
*[powertools-examples-serialization](powertools-examples-serialization) - Uses the serialization module to serialize and deserialize API Gateway & SQS payloads
@@ -34,8 +36,8 @@ amongst other things.
34
36
To build and deploy an example application for the first time, run the following in your shell:
35
37
36
38
```bash
37
-
# Switch to the directory containing an example for the powertools-core module
38
-
$ cd powertools-examples-core
39
+
# Switch to the directory containing an example for the powertools-idempotency module
40
+
$ cd powertools-examples-idempotency
39
41
40
42
# Build and deploy the example
41
43
$ sam build
@@ -52,6 +54,8 @@ The first command will build the source of your application. The second command
52
54
53
55
You can find your API Gateway Endpoint URL in the output values displayed after deployment.
54
56
57
+
If you're not using SAM, you can look for examples for other tools under [powertools-examples-core](./powertools-examples-core)
58
+
55
59
### External examples
56
60
57
61
You can find more examples in the https://github.com/aws/aws-sam-cli-app-templates project:
0 commit comments