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
demandé il y a un mois97 vues
2 réponses
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.

répondu il y a 25 jours
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
EXPERT
répondu il y a un mois

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions