policy statement

One rule in an IAM policy, made of at most five parts: Sid, Effect, Action, Resource and Condition.

In more detail

Sid is a label you choose. Effect is Allow or Deny, with no third value. Action names an API call as a service prefix and operation, such as s3:GetObject. Resource names what the call touches as an ARN, and Condition decides whether the statement applies to this particular request.

Example

"Effect": "Allow", "Action": ["s3:GetObject", "s3:PutObject"], "Resource": "arn:aws:s3:::site-bundles-prod/*"

Related terms

Taught in

References