Skip to content

Instantly share code, notes, and snippets.

@tonykwon
Created July 24, 2014 15:38
Show Gist options
  • Save tonykwon/ba091c75060d8a0f1507 to your computer and use it in GitHub Desktop.
Save tonykwon/ba091c75060d8a0f1507 to your computer and use it in GitHub Desktop.
S3 List and Put Only
{
"Statement": [
{
"Effect": "Allow",
"Action": "s3:*",
"Resource": ["arn:aws:s3:::{YOUR-BUCKET-NAME-WITHOUT-BRACES}/*"]
},
{
"Effect": "Allow",
"Action": [ "s3:ListAllMyBuckets", "s3:PutObject" ],
"Resource": "*",
"Condition": {}
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment