is-aws-queue
v1.1.0
Published
Utility function to check if a queue name is a valid AWS SQS name
Readme
is-aws-queue 
Utility to check based on a queue name, that it is or could be an AWS SQS queue
Install
$ npm install is-aws-queueUsage
const isAwsQueue = require('is-aws-queue');
isAwsQueue('correct-queue_01'); // true
isAwsQueue('orders.fifo'); // true
isAwsQueue('#myqueue 01'); // false
API
isAwsQueue(name)
name
Type: string
Name of the queue that has to be validated.
Standard queue names may contain alphanumeric characters, hyphens, and underscores. FIFO queue names use the same characters followed by the required .fifo suffix. The complete name can be at most 80 characters.
