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
Element Descriptions
Version
The Version is the access policy language version. This is an optional element, and currently the only
allowed value is 2008-10-17.
"Version":"2008-10-17"
Id
The Id is an optional identifier for the policy. We recommend you use a UUID for the value, or incorporate
a UUID as part of the ID to ensure uniqueness.
Important
The AWS service (e.g., SQS or Amazon SNS) implementing the access policy language might
require this element and have uniqueness requirements for it. For service-specific information
about writing policies, see Special Information for SQS Policies (p. 61).
"Id":"cd3ad3d9-2776-4ef1-a904-4c229d1642ee"
Statement
The Statement is the main element for a statement. It can include multiple elements (see the subsequent
sections in this guide).
The Statement element contains an array of individual statements. Each individual statement is a distinct
JSON block enclosed in curly brackets { }.
"Statement":[{...},{...},{...}]
Sid
The Sid (statement ID) is an optional identifier you provide for the policy statement. Essentially it is just
a sub-ID of the policy document's ID.
Important
The AWS service (e.g., SQS or Amazon SNS) implementing the access policy language might
require this element and have uniqueness requirements for it. For service-specific information
about writing policies, see Special Information for SQS Policies (p. 61).
"Sid" : "1"
Effect
The Effect is a required element that indicates whether you want the statement to result in an allow or
an explicit deny (for more information, see Explicit Deny (p. 36)).
Valid values for Effect are Allow and Deny.
API Version 2009-02-01
48