Read Policy to SQS

0

In the examples of SQS Policy https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-basic-examples-of-sqs-policies.html

I understand that I can set who is allowed to send messages to the SQS

But how can I configure the policy to set who is allowed to read the SQS ?

1 回答
2

Same way, just using sqs:ReceiveMessage action.

You can also grant sqs:ReceiveMessage to IAM Role/User/other actor - as long as there is no explicit Deny, either way will work.

已回答 2 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则