SqsEventSource setting maximum concurrency for AWS Lambda #23751
-
Hey all, I have an SqsEventSource (https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_lambda_event_sources.SqsEventSource.html) and I want to set maximumConcurrency on it as announced here: https://aws.amazon.com/blogs/compute/introducing-maximum-concurrency-of-aws-lambda-functions-when-using-amazon-sqs-as-an-event-source/ . However, this is not a property yet in cdk 2.61.0. I also find no .node.defaultChild on this Construct. How do I go about implementing this? There is AWS SAM support for it, as shown here: https://github.com/aws-samples/aws-lambda-amazon-sqs-max-concurrency/blob/main/template.yaml#LL50-L51C36 |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
This will come in aws cdk 2.62.0. |
Beta Was this translation helpful? Give feedback.
-
I'm using aws-cdk 2.63.0, but still got error |
Beta Was this translation helpful? Give feedback.
This will come in aws cdk 2.62.0.