I created a lambda function. By default there is no trigger for SQS. I decided to take a detour and created a rule in CloudWatch , where I chose the following Event Pattern -> Service Name: SQS , Event Type: All Events . Added a lambda function to the rule and saved it. A trigger has been added to the function with this rule, but does not respond to events. Please help me, how do I get the lambda function to work on SQS events? I can run it using the Cron scheduler races per minute (minimum time), but I need to quickly respond to events. Otherwise it makes no sense to write a lambda function in my case.

  • Share, how did you solve the problem? - Alexander Petrov
  • one
    @AlexanderPetrov used SNS queues instead. Poison message in SNS and lambda instantly works. - Andy

0