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?

demandé il y a 2 ans796 vues
2 réponses
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
EXPERT
répondu il y a 2 ans
  • 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
EXPERT
Toni_S
répondu il y a 2 ans

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions