What are the Naming conventions for SNS SQS

0 votes

In an ETL process we are implementing we will create an Amazon SNS topic which will send messages to an Amazon SQS queue.

In the documentation we didn't see a particular spec regarding names so I was wondering if someone could recommend best practises regarding the naming conventions for SNS topics and the SQS queues.

The scope is to know whether there are best practices in naming topics (SNS) and queues (SQS) in order to follow the best approach for naming. For instance, is the camel case recommended? Should the topic name / queue name give a representation of the domain?

Aug 9, 2018 in AWS by bug_seeker
• 15,550 points

1 answer to this question.

0 votes

There are no specific naming convention. You can name SNS Topics and SQS Queues however you like, as long as it doesn't complain (eg spaces or illegal characters).

Be aware that, over time, you might have many topics and many queues, and they form part of the ARN so they will be hard to change in future. I would recommend a prefix for the application, and a descriptive portion. For example, if the unicorn application is pushing an invoice to a queue, call the queue:


Don't include 'topic' or 'queue' in the name as they are irrelevant (eg unicorn_invoice is better than unicorn_invoice_queue).

If many different teams are using the same AWS account, you could add an additional tier to indicate who 'owns' the resource, such as:


CamelCase is also fine, if that is common in your company:


answered Aug 9, 2018 by Priyaj
• 58,140 points

Related Questions In AWS

0 votes
2 answers

What is the difference between Amazon SNS and Amazon SQS?

Amazon SQS and SNS are the two ...READ MORE

answered Sep 9, 2020 in AWS by Michael
• 140 points
0 votes
1 answer

What are the best practices for security in Lambda?

For security, there are some of the ...READ MORE

answered Jan 11, 2019 in AWS by Diksha
0 votes
1 answer

What are the different properties option for a S3 bucket?

The different properties that are associated with ...READ MORE

answered Feb 13, 2019 in AWS by Nitya
0 votes
1 answer

What are the naming rules to be followed in DynamoDB?

There are certain rules that needs to ...READ MORE

answered Feb 15, 2019 in AWS by heena
+15 votes
2 answers

Git management technique when there are multiple customers and need multiple customization?

Consider this - In 'extended' Git-Flow, (Git-Multi-Flow, ...READ MORE

answered Mar 27, 2018 in DevOps & Agile by DragonLord999
• 8,450 points
+2 votes
1 answer
+5 votes
2 answers

What are the different job roles that one can get for AWS

If you have the AWS certification for ...READ MORE

answered Sep 21, 2018 in AWS by Priyaj
• 58,140 points
+1 vote
1 answer

What are the interview questions that could be asked related to AWS?

Genuine answer would be that you never ...READ MORE

answered Jul 12, 2018 in AWS by Priyaj
• 58,140 points