Created
June 10, 2022 16:37
-
-
Save chrisblackwell/0c8ed02a8f8fb5289c0954e87b0aa8ee to your computer and use it in GitHub Desktop.
S3 Read and Write Bucket IAM Policy
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"Version": "2012-10-17", | |
"Statement": [ | |
{ | |
"Sid": "ListObjectsInBucket", | |
"Effect": "Allow", | |
"Action": ["s3:ListBucket"], | |
"Resource": ["arn:aws:s3:::bucket-name"] | |
}, | |
{ | |
"Sid": "AllObjectActions", | |
"Effect": "Allow", | |
"Action": "s3:*Object", | |
"Resource": ["arn:aws:s3:::bucket-name/*"] | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment