Access identifiers and attributes of a specific queue - AWS SQS

0 votes
I have created a queue called mask, now I am trying to access its attributes and identifiers. How do I do that?
Aug 20 in AWS by Mihir
19 views

1 answer to this question.

0 votes

You can access the identifiers and attributes using the queue_name.attributes. In your case, it would be somethin g like this:

print(mask.url)
print(mask.attributes.get('DelaySeconds'))
answered Aug 20 by Ganga

Related Questions In AWS

0 votes
1 answer

How to Restrict AWS Resource Access to a Specific IAM Role

You can use iam get-role to find the Role-Id and add ...READ MORE

answered Aug 13, 2018 in AWS by Archana
• 4,090 points
132 views
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer

How do I delete a queue in AWS SQS?

Its pretty simple to delete a queue ...READ MORE

answered Aug 20 in AWS by Travis
20 views
0 votes
1 answer
+1 vote
2 answers
0 votes
1 answer

Create a queue using boto - AWS SQS

Try this code: # Get the service resource sqs ...READ MORE

answered Aug 20 in AWS by Vishal
16 views
0 votes
1 answer

Lookup a queue by its name - AWS SQS

Yes, it is possible to lookup for ...READ MORE

answered Aug 20 in AWS by Akaash
30 views