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
已提問 25 天前檢視次數 96 次
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.

已回答 24 天前
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
專家
已回答 24 天前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南