An AWS CDK construct that creates an SQS queue with a monitored dead-letter queue (DLQ) and sends notifications via email or Slack when the DLQ message count exceeds a threshold. Current version: 2.2.0. Built on AWS CDK v2 (aws-cdk-lib ^2.168.0) and constructs ^10.5.1. Key differentiator: provides an all-in-one solution combining SQS queue provisioning, DLQ setup, CloudWatch alarm, and notification integration (email/Slack) without manual configuration. Maintained by EYssel.
npm install sqs-dlq-monitoringNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Creates an SQS queue with DLQ monitoring and email/Slack alerting in an AWS CDK stack.
Upgrade aws-cdk-lib and constructs to meet peer dependency requirements.
Either rely on the construct's automatic DLQ creation and omit deadLetterQueue from queueProps, or use dlqProps to customize. Do not specify both.
Use npm install sqs-dlq-monitoring@^2.0.0.
Use AWS Secrets Manager or CDK parameters to pass Slack token securely.
When deploying, check SNS subscription confirmations in AWS Console or use email endpoints that auto-confirm.
Run 'npm install sqs-dlq-monitoring' and ensure 'esModuleInterop' and 'moduleResolution' are set appropriately.
Provide maxReceiveCount in the properties object.
Recreate Slack token with correct scope and verify channel ID.
Check email inbox (including spam) and confirm subscription within 3 days.