Skip to content

Instantly share code, notes, and snippets.

@gwsu2008
Created December 12, 2017 22:14
Show Gist options
  • Save gwsu2008/4c08389cb34e3b384b276e8af575f25b to your computer and use it in GitHub Desktop.
Save gwsu2008/4c08389cb34e3b384b276e8af575f25b to your computer and use it in GitHub Desktop.
aws-s3-bucket-write-only.json
{
"Version": "2012-10-17",
"Statement": [{
"Effect": "Allow",
"Action": [
"s3:ListAllMyBuckets"
],
"Resource": [
"arn:aws:s3:::*"
]
},
{
"Effect": "Allow",
"Action": [
"s3:ListBucket"
],
"Resource": [
"arn:aws:s3:::bucketname"
]
},
{
"Effect": "Allow",
"Action": [
"s3:PutObject"
],
"Resource": [
"arn:aws:s3:::bucketname/*"
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment