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: README.md
+10-6Lines changed: 10 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -32,7 +32,7 @@ Want to get up and running quickly? [Check out our basic starter example](exampl
32
32
-[Serverless Application Model (SAM)](https://github.com/awslabs/serverless-application-model)/[CloudFormation](https://aws.amazon.com/cloudformation/aws-cloudformation-templates/) template
33
33
- Helper scripts to configure, deploy, and manage your application
34
34
35
-
###Accessing the event and context objects
35
+
## Accessing the event and context objects
36
36
37
37
This package exposes a function to easily get the `event` and `context` objects Lambda receives from the event source.
38
38
@@ -49,7 +49,7 @@ app.get('/', (req, res) => {
49
49
50
50
1. ✅ Improved API - Simpler for end user to use and configure; extensible without breaking backwards compatibility or hurting API
51
51
2. ✅ Node.js 8+ only - can upgrade dependencies to latest (Jest); can use latest syntax in source and tests; can use server.listening; future-proof for Node.js 10
52
-
3.🗓 Promise resolution mode by default? Requires benchmarking. Otherwise try callback with callbackWaitsForEventLoop=false (configurable by user); requires benchmarking. If context.succeed is still most performant, leave as default.
52
+
3.✅ Promise resolution mode by default
53
53
4. 🛠 Additional event sources - currently only supports API Gateway Proxy; should also support Lambda@Edge (https://github.com/awslabs/aws-serverless-express/issues/152) and ALB; have had a customer request for DynamoDB; should make it easy to provide your own IO mapping function.
54
54
1. Added ALB; requires example refactor.
55
55
2. Need to add Lambda@Edge and example
@@ -58,11 +58,11 @@ app.get('/', (req, res) => {
58
58
6. ✅ Configure logging - default winston and allow customers to provide their own; include option to respond to 500s with the stack trace instead of empty string currently
59
59
7. 🗓Improved documentation
60
60
8. ✅ Option to strip base path for custom domains (https://github.com/awslabs/aws-serverless-express/issues/86).
61
-
9.🗓 Update example to include optional parameter for setting up custom domain
61
+
9. 🗓 Update example to include optional parameter for setting up custom domain
- For apps that may not see traffic for several minutes at a time, you could see [cold starts](https://aws.amazon.com/blogs/compute/container-reuse-in-lambda/)
82
82
- Cannot use native libraries (aka [Addons](https://nodejs.org/api/addons.html)) unless you package your app on an EC2 machine running Amazon Linux
83
83
- Stateless only
84
84
- API Gateway has a timeout of 30 seconds, and Lambda has a maximum execution time of 15 minutes.
0 commit comments