Ensure Lambda functions have a dead-letter queue configured for better error handling
Rule | Lambda functions should be configured with a dead-letter queue |
Framework | NIST 800-53 Revision 5 |
Severity | ✔ Medium |
Rule Description
Lambda functions should be configured with a dead-letter queue to comply with NIST 800-53 Revision 5.
A dead-letter queue is a mechanism provided by AWS Lambda that retains events that Lambda functions were unable to process successfully. By configuring a dead-letter queue, failed events are stored for further analysis and troubleshooting.
Troubleshooting Steps
1. Verify Lambda Function Configuration
2. Create a Dead-Letter Queue
3. Configure Existing Dead-Letter Queue
Necessary Code
No code is required as this configuration is done through the AWS Management Console.
Step-by-Step Guide for Remediation
Ensure that the dead-letter queue configuration is also documented for future reference and compliance audits.