serverless-plugin-lambda-dead-letter icon indicating copy to clipboard operation
serverless-plugin-lambda-dead-letter copied to clipboard

Feature Request: CloudWatch Alarm Configuration for Messages in DLQ

Open flyinbutrs opened this issue 8 years ago • 0 comments

When using an SQS queue as the target, it would be very convenient to be able to supply the bare minimum details (threshold, OK action, Alarm action) and have it setup a CW Alarm for the DLQ to alert when there are messages that were rejected.

something like this:

    deadLetter:
      sqs:
        queueName: ${opt:stage}-function-dlq
        messageRetentionPeriod: 200000
        alarm:
          threshold: 0
          OkAction: sns_arn
          AlarmAction: sns_arn

flyinbutrs avatar Jul 12 '17 01:07 flyinbutrs