29.07.2020 Views

sqs-dg-2009-02-01

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Amazon Simple Queue Service Developer Guide

Basic Use Cases for Access Control

In Scenario 1, Policy A1 returns a default deny, as described earlier in this section. Policy B returns an

allow because the policy (by definition) allows requests that come in on June 1, 2010. The allow from

Policy B overrides the default deny from Policy A1, and the request is therefore allowed.

In Scenario 2, Policy B2 returns an explicit deny, as described earlier in this section. Again, Policy B

returns an allow. The explicit deny from Policy A2 overrides the allow from Policy B, and the request is

therefore denied.

Basic Use Cases for Access Control

This section gives a few examples of typical use cases for access control.

API Version 2009-02-01

42

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!