Skip to content

Instantly share code, notes, and snippets.

@otterley
Created July 7, 2019 16:23
Show Gist options
  • Save otterley/5d76fa8a79f53b546161c7cc0c2da9e9 to your computer and use it in GitHub Desktop.
Save otterley/5d76fa8a79f53b546161c7cc0c2da9e9 to your computer and use it in GitHub Desktop.
Example S3-granting VPC endpoint policy
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Principal": "*",
"Action": [
"s3:GetObject",
"s3:GetObjectVersion",
"s3:ListBucket"
],
"Resource": [
"arn:aws:s3:::bucket",
"arn:aws:s3:::bucket/*"
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment