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
+5-4
Original file line number
Diff line number
Diff line change
@@ -5,9 +5,10 @@ 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-utilities](powertools-examples-core-utilities) - Demonstrates the core logging, tracing, and metrics modules with different build tools
9
-
*[SAM](powertools-examples-core-utilities/sam)
10
-
*[CDK](powertools-examples-core-utilities/cdk)
8
+
*[powertools-examples-core](powertools-examples-core) - Demonstrates the core logging, tracing, and metrics modules with different build tools
*[powertools-examples-idempotency](powertools-examples-idempotency) - An idempotent HTTP API
12
13
*[powertools-examples-parameters](powertools-examples-parameters) - Uses the parameters module to provide runtime parameters to a function
13
14
*[powertools-examples-serialization](powertools-examples-serialization) - Uses the serialization module to serialize and deserialize API Gateway & SQS payloads
@@ -54,7 +55,7 @@ The first command will build the source of your application. The second command
54
55
55
56
You can find your API Gateway Endpoint URL in the output values displayed after deployment.
56
57
57
-
If you're not using SAM, you can look for examples for other tools under [powertools-examples-core-utilities](./powertools-examples-core-utilities)
58
+
If you're not using SAM, you can look for examples for other tools under [powertools-examples-core](./powertools-examples-core)
# Powertools for AWS Lambda (Java) - Core Utilities Example with Serverless Framework
2
+
3
+
This project demonstrates the Lambda for Powertools Java module deployed using [Serverless Framework](https://www.serverless.com/framework).
4
+
For general information on the deployed example itself, you can refer to the parent [README](../README.md).
5
+
To install Serverless Framework if you don't have it yet, you can follow the [Getting Started Guide](https://www.serverless.com/framework/docs/getting-started).
6
+
7
+
## Configuration
8
+
Serverless Framework uses [serverless.yml](./serverless.yml) to define the application's AWS resources.
9
+
This file defines the Lambda function to be deployed as well as API Gateway for it.
10
+
11
+
It is a [Maven](https://maven.apache.org/) based project, so you can open this project with any Maven compatible Java IDE to build and run tests.
12
+
13
+
14
+
## Deploy the sample application
15
+
16
+
To deploy the app, simply run the following commands:
0 commit comments