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.

LouisM
質問済み 8ヶ月前355ビュー
2回答
1
承認された回答

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
エキスパート
回答済み 8ヶ月前
profile picture
エキスパート
レビュー済み 8ヶ月前
profile pictureAWS
エキスパート
レビュー済み 8ヶ月前
0

Thanks I work on that

LouisM
回答済み 8ヶ月前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ