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
gefragt vor 24 Tagen96 Aufrufe
2 Antworten
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.

beantwortet vor 24 Tagen
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
EXPERTE
beantwortet vor 24 Tagen

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen