Skip to content

Instantly share code, notes, and snippets.

@UmairJibran
Created February 14, 2024 19:41
Show Gist options
  • Select an option

  • Save UmairJibran/c50514aef3784798e4ac348838ad90e7 to your computer and use it in GitHub Desktop.

Select an option

Save UmairJibran/c50514aef3784798e4ac348838ad90e7 to your computer and use it in GitHub Desktop.
Allow Public Access to s3 bucket
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "PublicReadGetObject",
"Effect": "Allow",
"Principal": "*",
"Action": "s3:GetObject",
"Resource": "arn:aws:s3:::bucket-name/*"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment