I have a SQS with redelivery policy set for DLQ after 4 re-tries. But, I want to send the DLQ messages to Slack so the corresponding channel would receive direct messages which failed at lambda.
From the AWS documentation, my understanding is that there is no direct integration from SQS to Slack, so I would have to create an SNS, which will have trigger as DLQ, and a lambda triggered by SNS which will actually forward the message to specific Slack Channel.
SQS -> (4 * error-processing) -> DLQ -> SNS -> Lambda -> Slack.
So, first Question: Is there any simpler pattern for this integration? and Second, is there an option to automatically (AWS provided) add errorDetails as message attributes for message sent from SQS to DLQ.