{ "Version": "2012-10-17", "Statement": [ { "Sid": "AllowAccessS3", "Effect": "Allow", "Action": [ "s3:ListAllMyBuckets", "s3:GetBucketLocation" ], "Resource": [ "arn:aws:s3:::*" ] }, { "Sid": "AllowPutGetS3", "Effect": "Allow", "Action": [ "s3:*" ], "Resource": [ "arn:aws:s3:::one-dollar-avatar/*", "arn:aws:s3:::one-dollar-avatar" ] } ] }