Skip to content

Instantly share code, notes, and snippets.

@duhaas2015
Created May 25, 2018 20:21
Show Gist options
  • Save duhaas2015/d97ffbdd7c085629c9b0f625c6f9b4bd to your computer and use it in GitHub Desktop.
Save duhaas2015/d97ffbdd7c085629c9b0f625c6f9b4bd to your computer and use it in GitHub Desktop.
{
"Version":"2012-10-17",
"Statement":[
{
"Action":[
"s3:ListBucket",
"s3:GetBucketLocation",
"s3:ListBucketMultipartUploads"
],
"Resource":[
"arn:aws:s3:::velostrata.*"
],
"Effect":"Allow"
},
{
"Action":[
"s3:AbortMultipartUpload",
"s3:DeleteObject",
"s3:DeleteObjectVersion",
"s3:GetObject",
"s3:GetObjectAcl",
"s3:GetObjectVersion",
"s3:GetObjectVersionAcl",
"s3:PutObject",
"s3:PutObjectAcl",
"s3:PutObjectAclVersion"
],
"Resource":[
"arn:aws:s3:::velostrata.*/*"
],
"Effect":"Allow"
},
{
"Action":[
"sqs:ListQueues",
"sqs:CreateQueue"
],
"Resource":[
"arn:aws:sqs:*"
],
"Effect":"Allow"
},
{
"Action":[
"sqs:GetQueueUrl",
"sqs:PurgeQueue",
"sqs:SendMessage",
"sqs:SendMessageBatch",
"sqs:ReceiveMessage",
"sqs:DeleteMessage",
"sqs:DeleteMessageBatch"
],
"Resource":[
"arn:aws:sqs:*:*:*velos*"
],
"Effect":"Allow"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment