QuestionQ85

VerifiedDesign Secure Architectures

A development team is working with another company to build an integrated product. The other company needs access to an Amazon Simple Queue Service (Amazon SQS) queue that resides in the development team's account. The other company wants to poll the queue without surrendering its own account permissions to do so.

How should a solutions architect provide access to the SQS queue?

Explanation

Amazon SQS supports cross-account access through a resource-based queue policy. The queue owner attaches an SQS access policy that names the other AWS account or specific IAM principals as allowed to perform actions such as ReceiveMessage. This lets the external company access the queue from its own account instead of giving up or replacing its own permissions. SNS policies apply to topics, not queues, and an instance profile is only for EC2 role attachment.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!