Bucket access by cloudfront

0

Is it possible to access objects from a bucket with get actions through a cloudfront distribution originating from this bucket?

Felipe
質問済み 1ヶ月前97ビュー
2回答
3

Hi,

Yes, it's possible to access objects from an S3 bucket with GET actions through a CloudFront distribution that uses the bucket as its origin. CloudFront acts as a content delivery network (CDN) that caches and delivers content from the S3 bucket to end users.

回答済み 1ヶ月前
0

The previous answer was deleted as it was misleading.

Is it correct that what you want to do is access S3 using the AWS API (AWS CLI or SDK)?
In that case, you cannot access S3 using AWS API via CloudFront.
CloudFront is a CDN service, so it is a service used to distribute content such as websites.
So you can use it when you want to host and serve static content in S3, but you can't try to access it using the AWS API.

profile picture
エキスパート
回答済み 1ヶ月前

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

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

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

関連するコンテンツ