Created
July 15, 2016 18:18
-
-
Save kapadia/10bd10511292a7ec5f0543c579921252 to your computer and use it in GitHub Desktop.
landsat-pds bucket 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": [ | |
{ | |
"Effect": "Allow", | |
"Principal": { | |
"AWS": "arn:aws:iam::000000000000:root" | |
}, | |
"Action": [ | |
"s3:ListBucket", | |
"s3:GetBucketLocation" | |
], | |
"Resource": "arn:aws:s3:::landsat-pds" | |
}, | |
{ | |
"Effect": "Allow", | |
"Principal": { | |
"AWS": "arn:aws:iam::000000000000:root" | |
}, | |
"Action": [ | |
"s3:GetObject", | |
"s3:PutObject" | |
], | |
"Resource": "arn:aws:s3:::landsat-pds/*" | |
} | |
] | |
} |
Thanks for the feedback. I was wondering if this removed the public access, thanks for the additional statement.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Yeah, I think @jedsundwall 's should work, and you can probably get rid of the last
GetObject
as well then.