sqs-dg-2009-02-01
Erfolgreiche ePaper selbst erstellen
Machen Sie aus Ihren PDF Publikationen ein blätterbares Flipbook mit unserer einzigartigen Google optimierten e-Paper Software.
Amazon Simple Queue Service Developer Guide
How to Write a Policy
How to Write a Policy
Topics
• Basic Policy Structure (p. 46)
• Element Descriptions (p. 47)
• Supported Data Types (p. 55)
This section describes how to write policies and gives reference information about each policy element.
Basic Policy Structure
Each policy is a JSON document. As illustrated in the following figure, a policy includes:
• Optional policy-wide information (at the top of the document)
• One or more individual statements
Each statement includes the core information about a single permission. If a policy includes multiple
statements, we apply a logical OR across the statements at evaluation time. If multiple policies are
applicable to a request, we apply a logical OR across the policies at evaluation time.
The information in a statement is contained within a series of elements. For information about these
elements, see Element Descriptions (p. 47).
API Version 2009-02-01
46