Skip to content

Instantly share code, notes, and snippets.

@mru2
Last active May 31, 2017 14:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mru2/375c893d4154bf44572d8401ee8a0015 to your computer and use it in GitHub Desktop.
Save mru2/375c893d4154bf44572d8401ee8a0015 to your computer and use it in GitHub Desktop.
AWS Bucket policy for S3 sync
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": [
"s3:GetBucketLocation",
"s3:ListAllMyBuckets"
],
"Resource": "arn:aws:s3:::*"
},
{
"Effect": "Allow",
"Action": [
"s3:ListBucket"
],
"Resource": [
"arn:aws:s3:::zou.pretto.fr*"
]
},
{
"Effect": "Allow",
"Action": [
"s3:AbortMultipartUpload",
"s3:DeleteObject",
"s3:GetObject",
"s3:GetObjectAcl",
"s3:PutObject",
"s3:PutObjectAcl"
],
"Resource": "arn:aws:s3:::zou.pretto.fr*"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment