w3hello.com logo
Home PHP C# C++ Android Java Javascript Python IOS SQL HTML videos Categories
Creating a new queue with specific name using cloudFormation

here is a sample template for the cloudformation docs:


and here the docs for the corresponding AWS::SQS::Queue object: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sqs-queues.html

to make it more clear:

"Resources" : {
    "The Name of your queue" : {
        "Type" : "AWS::SQS::Queue"

The final name of the queue will be:

{stack name}-{the name you specified for the queue}-{some random hash?}

not sure about the last part.
for example if you name you stack testStack and your queue testQueueName you will end up with something like this:

however, you should maybe not relay on some suffixes or prefixes, you can get the queue names in the template and write it to a file with in the same cloudformation template

© Copyright 2018 w3hello.com Publishing Limited. All rights reserved.