Skip to content

Instantly share code, notes, and snippets.

@jrasanen
Created October 8, 2015 09:53
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jrasanen/930bd1a1c0daf0ba2837 to your computer and use it in GitHub Desktop.
Save jrasanen/930bd1a1c0daf0ba2837 to your computer and use it in GitHub Desktop.
How to give permission to an individual S3 bucket (IAM policy)
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "Stmt1442911835000",
"Effect": "Allow",
"Action": [
"s3:*"
],
"Resource": [
"arn:aws:s3:::BUCKETNAMEHERE/*"
]
},
{
"Sid": "Stmt1442911983000",
"Effect": "Allow",
"Action": [
"s3:*"
],
"Resource": [
"arn:aws:s3:::BUCKETNAMEHERE"
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment