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, 2019 in AWS by Mihir
411 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, 2019 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,170 points
976 views
0 votes
1 answer
0 votes
1 answer

Can I create a message with custom attributes? - AWS SQS

Yess! You can create a message with ...READ MORE

answered Aug 20, 2019 in AWS by Keshav
1,441 views
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, 2019 in AWS by Travis
1,346 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, 2019 in AWS by Vishal
569 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, 2019 in AWS by Akaash
1,953 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP