Skip to content

Instantly share code, notes, and snippets.

@babo
Last active December 18, 2015 10:49
Show Gist options
  • Save babo/e2b79860d95bdcdca152 to your computer and use it in GitHub Desktop.
Save babo/e2b79860d95bdcdca152 to your computer and use it in GitHub Desktop.
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "Stmt1442914547000",
"Effect": "Allow",
"Action": [
"s3:ListAllMyBuckets"
],
"Resource": [
"arn:aws:s3:::"
]
},
{
"Sid": "Stmt1442921079",
"Effect": "Allow",
"Action": [
"s3:ListBucket*",
"s3:ListMultipartUploadParts"
],
"Resource": [
"arn:aws:s3:::YOUR-BUCKET-NAME",
"arn:aws:s3:::YOUR-BUCKET-NAME/*"
]
},
{
"Sid": "1442921114",
"Effect": "Allow",
"Action": [
"s3:DeleteObject",
"s3:GetObject*",
"s3:PutObject*",
"s3:RestoreObject"
],
"Resource": [
"arn:aws:s3:::YOUR-BUCKET-NAME/csv/*",
"arn:aws:s3:::YOUR-BUCKET-NAME/schema/*"
]
},
{
"Sid": "1442921115",
"Effect": "Allow",
"Action": [
"s3:GetObject*"
],
"Resource": [
"arn:aws:s3:::YOUR-BUCKET-NAME/sqldump/*"
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment