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년 전801회 조회
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년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠