Skip to content

Instantly share code, notes, and snippets.

@jerome
Created December 11, 2011 13:58
Show Gist options
  • Select an option

  • Save jerome/1460741 to your computer and use it in GitHub Desktop.

Select an option

Save jerome/1460741 to your computer and use it in GitHub Desktop.
AWS IAM policy for a single full access S3 bucket
{
"Statement" : [
{
"Effect" : "Allow",
"Action" : ["s3:*"],
"Resource" : [
"arn:aws:s3:::bucketname",
"arn:aws:s3:::bucketname/*"
]
}, {
"Effect" : "Deny",
"Action" : ["s3:*"],
"NotResource" : [
"arn:aws:s3:::bucketname",
"arn:aws:s3:::bucketname/*"
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment