Skip to content

Instantly share code, notes, and snippets.

@justizin
Forked from phlipper/monosnap-s3-iam-policy.json
Last active August 29, 2015 14:18
Show Gist options
  • Save justizin/d75eedada523552ca1c6 to your computer and use it in GitHub Desktop.
Save justizin/d75eedada523552ca1c6 to your computer and use it in GitHub Desktop.
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "AllowGroupToSeeBucketListInTheConsole",
"Action": [
"s3:ListAllMyBuckets",
"s3:GetBucketLocation"
],
"Effect": "Allow",
"Resource": [
"arn:aws:s3:::*"
]
},
{
"Sid": "AllowRootLevelListingOfTheBucket",
"Action": [
"s3:ListBucket"
],
"Effect": "Allow",
"Resource": [
"arn:aws:s3:::my-monosnap-s3-bucket"
]
},
{
"Sid": "Stmt1410750108000",
"Effect": "Allow",
"Action": [
"s3:GetObjectAcl",
"s3:GetObject",
"s3:GetObjectVersionAcl",
"s3:GetObjectVersion",
"s3:ListBucket",
"s3:PutObjectAcl",
"s3:PutObject",
"s3:PutObjectVersionAcl"
],
"Resource": [
"arn:aws:s3:::my-monosnap-s3-bucket/*"
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment