@aws-cdk/aws-sqs: Add readonly deadLetter property to Queue #18083
Labels
@aws-cdk/aws-sqs
Related to Amazon Simple Queue Service
effort/small
Small work item – less than a day of effort
feature-request
A feature should be added or improved.
good first issue
Related to contributions. See CONTRIBUTING.md
p1
Description
Add a
readonly
property toQueue
to access the dead letter queue (if configured)Use Case
Sometimes I want access to a queues dead letter queue. For example say I'm building a separate monitoring stack which provisions CloudWatch dashboards/alarms for many SQS queues.
It would be much easier to have a dead letter queue property on each queue versus having to maintain code that maps each queue to it's dead letter queue.
For example
Proposed Solution
Add an optional readonly property to the
Queue
class to access the dead letter queue config, if one is configuredOther information
No response
Acknowledge
The text was updated successfully, but these errors were encountered: