Skip to content

Instantly share code, notes, and snippets.

@jonasfj
Created June 25, 2014 16:36
Show Gist options
  • Save jonasfj/b22812b96a39153160bd to your computer and use it in GitHub Desktop.
Save jonasfj/b22812b96a39153160bd to your computer and use it in GitHub Desktop.
IAM policy for read-only access to the `telemetry-published-v1` bucket.
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "Stmt1400030942000",
"Effect": "Allow",
"Action": [
"s3:GetObject"
],
"Resource": [
"arn:aws:s3:::telemetry-published-v1/*"
]
},
{
"Sid": "Stmt1400030942001",
"Effect": "Allow",
"Action": [
"s3:GetBucketLocation",
"s3:ListBucket"
],
"Resource": [
"arn:aws:s3:::telemetry-published-v1"
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment