Great Adnan...Clear Explanation on what to do with AWS Lamdba...one question , is that possible to stop the api gateway which we created for roll-a-dice temporarily, if so how could I do it?....
Do we need to include the node_modules folder when we upload the zip to lambda?
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.
Great Adnan...Clear Explanation on what to do with AWS Lamdba...one question , is that possible to stop the api gateway which we created for roll-a-dice temporarily, if so how could I do it?....
Do we need to include the node_modules folder when we upload the zip to lambda?
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.