[aws-lambda] expose DLQ as property of Function when DLQ created by cdk #6170
Labels
feature-request
A feature should be added or improved.
needs-triage
This issue or PR still needs to be triaged.
expose DLQ created by CDK as a parameter in https://docs.aws.amazon.com/cdk/api/latest/docs/@aws-cdk_aws-lambda.Function.html#properties
Use Case
as a cdk user, i don't want to create a DLQ resource for my lambda because CDK does it for me and my life is easier. i however, need to setup alarms on my dlq and have the ability to append to it's queue policy since i will most likely have a re-drive script to move messages from DLQ back to lambda.
Proposed Solution
define a read only attribute in @aws-cdk_aws-lambda.Function to expose the internally created deadLetterQueue
This is a 🚀 Feature Request
The text was updated successfully, but these errors were encountered: