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.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
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.