retrieve images inside S3 buckets without download it

0

Good day, i have a question about S3 which is is it okay to get the object (.jpg format) from the buckets without download it and using programming method? for example, i have one application, user must login, however, each user have different kind of user image initially, the images that shown in the user profile photo is get from my S3 object by using programming method to link and get that images from the buckets that i mention, is it have this kind of method? if yes, how to do it?

已提问 2 年前778 查看次数
2 回答
0

Is this what you are looking for - https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObject.html

If you scroll to the bottom, it shows the SDKs in different programming languages. You will have to search for the GetObject API for the programming language of your choice.

profile pictureAWS
专家
已回答 2 年前
  • hi Indranil, i have try to take a look on the documentation, however, the function GetObject only get the information of the object only, what i want is a image output only which will pop out from my application when i retrieve it, is it correct for my understanding on GetObject?

0

If you are doing web applications (or mobile applications with React etc.). then you could just refer to the image on S3 bucket. To add security you could generate signed S3 URLs for the images that you would programatically retrieve. You can se the maximum age for the URL so the app could only load the image for next 5 minutes for example.

profile pictureAWS
专家
Toni_S
已回答 2 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则