Skip to content

Instantly share code, notes, and snippets.

@onedal
Created December 25, 2016 06:18
Show Gist options
  • Save onedal/dd0c9b36e9771003f22e46bf27a9b9d0 to your computer and use it in GitHub Desktop.
Save onedal/dd0c9b36e9771003f22e46bf27a9b9d0 to your computer and use it in GitHub Desktop.
s3
S3 Bucket Policy
{
"Id": "Policy1",
"Statement": [
{
"Sid": "Stmt",
"Action": [
"s3:ListBucket"
],
"Effect": "Deny",
"Resource": "arn:aws:s3:::bucket_name",
"Principal": {
"AWS": [
"arn:aws:iam::account_number:user/jeff"
]
}
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment