Store Shared Resource Name Store?

I am running into an interesting problem:

  • I have a shared resource, an SQS queue via sqs_event.
  • I have endpoints that put messages into this queue but first have to perform a List.lookup in order to get the queue_url
  • When there are too many calls the List.lookup runs into Rate exceeded for cloudformation

What I’m wondering is if there’s a way to store the queue name (because Jets creates a queue name with random characters), to avoid making the List.lookup call every time? Is there a better process for this?

I am using the parameter store for now, but this definitely deserves a look. List.lookup via cloudformation has limits.