Amazon Web Services (AWS) - Get Simple Queue Service (SQS) Queue URL using the AWS CLI
by
Jeremy Canfield |
Updated: March 23 2024
| Amazon Web Services (AWS) articles
This assumes you have already configured the aws command line tool. If not, check out my article on Getting Started with the AWS CLI.
If you are not familiar with AWS Simple Queue Service (SQS), check out my article Amazon Web Services (AWS) - Getting Started with Simple Queue Service (SQS).
The aws sqs list-queues command can be used to list your queues.
~]$ aws sqs list-queues
{
"QueueUrls": [
"https://queue.amazonaws.com/123456789012/my-first-queue"
]
}
Likewise, the aws sqs get-queue-url command can be used to get the URL of your queue.
~]$ aws sqs get-queue-url --queue-name my-first-queue
{
"QueueUrl": "https://queue.amazonaws.com/123456789012/my-first-queue"
}
Did you find this article helpful?
If so, consider buying me a coffee over at