amazon-web-servicesaws-lambdaamazon-sqs

AWS lambda destination using "Event source mapping invocation"


I have a lambda function that has an SQS queue as a trigger. screenshot showing trigger added lambda

I've understood that this sort of trigger causes a synchronous invocation, and that if I want a destination, it must be set up accordingly.

The screenshot below shows the screen for adding a destination. I have selected "Event source mapping invocation" instead of "Asynchronous invocation" so that it can handle failure that were triggered by SQS. However the dropdown is empty and I cannot choose anything or proceed. screenshot showing page for adding destination

My question is, why is this dropdown empty? By already having the SQS queue as a trigger, have I not created an event source mapping here? What is this used for otherwise?


Solution

  • As @PeskyPotato pointed out, the info panel says that Event Source Mapping is only available for certain sources,

    enter image description here

    Which is incompatible with my use case. Looks like I will need to figure out something else.