1 Antwort
- Neueste
- Die meisten Stimmen
- Die meisten Kommentare
0
Hello,
CloudFront doesn't invoke edge functions for viewer response events when the origin returns HTTP status code 400 or higher [1].
Lambda@Edge functions for origin response events are invoked for all origin responses, including when the origin returns HTTP status code 400 or higher. Hence, you can use Lambda@Edge function at the origin response for your requirement [2].
References :
beantwortet vor einem Jahr
Relevanter Inhalt
- AWS OFFICIALAktualisiert vor 8 Monaten
- AWS OFFICIALAktualisiert vor 8 Monaten

With test event, the code is behaving as expected.