title: Get SQS URL from within Serverless function?
body: <p>I'm building a Serverless app that defines an SQS queue in the resources as follows:</p>
  
  <pre><code>resources:
    Resources:
      TheQueue:
        Type: "AWS:SQS:Queue"
        Properties:
          QueueName: "TheQueue"
  </code></pre>
  
  <p>I want to send messages to this queue from within one of the functions. How can I access the URL from within the function? I want to place it here:</p>
  
  <pre><code>const params = {
      MessageBody: 'message body here',
      QueueUrl: 'WHATS_THE_URL_HERE',
      DelaySeconds: 5
  };
  </code></pre>