1 Antwort
- Neueste
- Die meisten Stimmen
- Die meisten Kommentare
0
It looks like x-amzn-errortype
tells that request from CloudFront has not been authorized by API GW.
You can configure CloudFront to convey API in the custom header sent to Origin (API GW in this case):
https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/add-origin-custom-headers.html
beantwortet vor 2 Jahren
Relevanter Inhalt
- AWS OFFICIALAktualisiert vor einem Jahr
- AWS OFFICIALAktualisiert vor 10 Monaten
- AWS OFFICIALAktualisiert vor 2 Jahren
- AWS OFFICIALAktualisiert vor 2 Jahren
Can you elaborate - should I configure API Gateway or CloudFront?
One problem is that on CloudFront I don't have any "distribution". Everything seems to work without a distribution for me. And I'm not sure I can just create one either, everything has been working like that for quite a while already.