For example, I want to trigger a CloudWatch alarm for the following:
Number of messages sent -
Number of messages deleted >= 6
The above is for AWS SQS metrics. And I want that metric to trigger AWS Lambda if that alarm is set off.
Is there any way I can do it? If not, then is there any work-around [Aiming for a serverless paradigm]
[I want to do that, cause there's no metric which tells me the number of messages currently (available) in the queue]. So, if there's a metric which can give me that, it'd be very helpful