Menu
Amazon Simple Queue Service
Developer Guide

Amazon SQS Access Policy Language Key Concepts

To write your own policies, you must be familiar with JSON and a number of key concepts.

allow

The result of a statement that has effect set to allow.

action

The activity that the principal has permission to perform, typically a request to AWS.

default-deny

The result of a statement that that has no allow or explicit-deny settings.

condition

Any restriction or detail about a permission. Typical conditions are related to date and time and IP addresses.

effect

The result that you want the statement of a policy to return at evaluation time. You specify the deny or allow value when you write the policy statement. There can be three possible results at policy evaluation time: default-deny, allow, and explicit-deny.

explicit-deny

The result of a statement that has effect set to deny.

evaluation

The process that Amazon SQS uses to determine whether an incoming request should be denied or allowed based on a policy.

issuer

The user who writes a policy to grant permissions to a resource. The issuer, by definition is always the resource owner. AWS doesn't permit Amazon SQS users to create policies for resources they don't own.

key

The specific characteristic that is the basis for access restriction.

permission

The concept of allowing or disallowing access to a resource using a condition and a key.

policy

The document that acts as a container for one or more statements.

Amazon SQS uses the policy to determine whether to grant access to a user for a resource.

principal

The user who receives permission in the policy.

resource

The object that the principal requests access to.

statement

The formal description of a single permission, written in the access policy language as part of a broader policy document.

requester

The user who sends a request for access to a resource.