Thank you for the route throttling ability! :pray:
# general
a
Thank you for the route throttling ability! 🙏
f
It looks like this:
Copy code
new Api(this, "Api", {
  defaultThrottlingRateLimit: 2000,
  defaultThrottlingBurstLimit: 100,
  routes: {
    "GET  /notes": "list.main",
    "POST /notes": "create.main",
  },
});
a
Haha, fast as usual, I was trying to find the docs. 😅
Any plans to introduce throttling at the individual route level? Is that doable for HTTP APIs?
f
Lol yeah it’s doable. I was trying to cut some corners. Is that something you need atm?
a
no, not urgent, just something I would want AWS to take care of rather than implementing it myself. It’d be necessary for certain routes which perform tasks such as sending emails, sms, notifications, etc. Currently, I’m using SQS to deal with such tasks.
a
Thanks for adding this Frank, I believe this feature is really useful.