concept
Policy actions, resources and conditions
Identity policy statements match action, resource and conditions. GetObject uses an S3 object ARN, ListBucket a bucket ARN. A nonmatching Allow is not an explicit Deny.
Formal Syntax & Structure
aws syntaxaws
Effect / Action / Resource / optional ConditionWorking Example
Example Snippetaws
{ "Version": "2012-10-17", "Statement": [ { "Effect": "Allow", "Action": "s3:GetObject", "Resource": "arn:aws:s3:::amzn-s3-demo-bucket1/reports/*", "Condition": { "Bool": { "aws:SecureTransport": "true" } } } ]}