1 Answer
- Newest
- Most votes
- Most comments
0
APi gateway runs as an IAM role. You need to grant access to the role and not the service.
This example seems to be aligned with what you seem to be trying to achieve and help guide you with the permissions needed.
Relevant content
- AWS OFFICIALUpdated 9 months ago
- How can I configure my Amazon VPC to privately connect to my S3 bucket without using authentication?AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 2 years ago
Thank you for the reply! I actually experimented this already. The limit is that the file size limit is 10 MB, so I would really like a way that only authenticate the URL call but does not have this size limit. That's why I am working this way around. Also, from my experiment, I notice, if I want to access object that is within the sub folder:
bucket/sub/item.bin
, I couldn't get it by filling {bucket} tobucket and {item} to
sub/item.bin`, it will list all the bucket instead. Do you have any idea on this?