Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[aws-lambda] expose DLQ as property of Function when DLQ created by cdk #6170

Closed
1 of 2 tasks
SeekerWing opened this issue Feb 7, 2020 · 0 comments · Fixed by #6175
Closed
1 of 2 tasks

[aws-lambda] expose DLQ as property of Function when DLQ created by cdk #6170

SeekerWing opened this issue Feb 7, 2020 · 0 comments · Fixed by #6175
Labels
feature-request A feature should be added or improved. needs-triage This issue or PR still needs to be triaged.

Comments

@SeekerWing
Copy link
Contributor

SeekerWing commented Feb 7, 2020

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

  • 👋 I may be able to implement this feature request
  • ⚠️ This feature might incur a breaking change

This is a 🚀 Feature Request

@SeekerWing SeekerWing added feature-request A feature should be added or improved. needs-triage This issue or PR still needs to be triaged. labels Feb 7, 2020
SeekerWing added a commit to SeekerWing/aws-cdk that referenced this issue Feb 7, 2020
@mergify mergify bot closed this as completed in #6175 Feb 10, 2020
mergify bot pushed a commit that referenced this issue Feb 10, 2020
Expose DLQ as a readonly attribute of the Function construct.

Fixes #6170
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request A feature should be added or improved. needs-triage This issue or PR still needs to be triaged.
Projects
None yet
1 participant