Best way to list S3 objects behind CloudFront

0

Currently, have an S3 hosted website that I am getting S3 objects with S3.listObjects . I mirrored the site behind CloudFront and can get the objects individually, but struggling with a way to get a list of the objects. Please suggest the best way and relevant tutorials. Prefer a javascript solutions, but can work through alternatives.

Todd
asked 8 months ago328 views
2 Answers
1
Accepted Answer

One option could be is to use the AWS JavaScript SDK to connect directly to the S3 APIs from your applications and control what to list, batch etc. for performance and cost opt point of view. Then you can create an API on top of like Lambda function that can list objects using the AWS SDK.

profile pictureAWS
EXPERT
answered 8 months ago
profile picture
EXPERT
reviewed 8 months ago
profile pictureAWS
EXPERT
reviewed 8 months ago
0

Thanks I work on that

Todd
answered 8 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions