Skip to content

Instantly share code, notes, and snippets.

@otterley
Created July 7, 2019 16:22
Show Gist options
  • Save otterley/85dae01165975cb02c3d211fb0040e5f to your computer and use it in GitHub Desktop.
Save otterley/85dae01165975cb02c3d211fb0040e5f to your computer and use it in GitHub Desktop.
Example S3 instance role policy
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": [
"s3:GetObject",
"s3:GetObjectVersion",
"s3:ListBucket"
],
"Resource": [
"arn:aws:s3:::bucket",
"arn:aws:s3:::bucket/*"
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment