Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Limit Lambda concurrency on function level with CDK

I want to limit the max concurrency for a specific lambda function. According to this post, it should be possible. However, I cannot find any option for that in CDK, and most of the information point to provisioned concurrency, which is almost the opposite.

like image 835
Lau Avatar asked Sep 12 '25 19:09

Lau


1 Answers

You can control this with the reservedConcurrentExecutions prop of the Function construct.

Documentation explaining the behavior of this parameter

like image 156
gshpychka Avatar answered Sep 14 '25 10:09

gshpychka