DEV Community

Discussion on: Getting Started with AWS Lambda and Node.js

Collapse
 
adnanrahic profile image
Adnan Rahić

You can't "stop" the API Gateway entirely, but you can add an API Key to rate-limit the endpoint.

Yes, you need to include the node_modules. I tend to write Lambda code locally and use the Serverless Framework to deploy the code and resources. Check out this article I wrote to learn how.