Error Adding a lambda function to a cloudfront distribution

0

I have a basic cloudfront distribution that uses a s3 bucket as origin. But when I add a lambda function it shows the following error:

Enter image description here

Here is the distribution configuration:

Enter image description here Enter image description here

Enter image description here

Enter image description here

And the function is set as the padrom for leading with cloudfront. The model is Modify HTTP response Header.

質問済み 9ヶ月前212ビュー
1回答
0

Hello.

What does the Lambda function do?
Also, are the required IAM roles set for the Lambda function?
https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/lambda-edge-permissions.html

profile picture
エキスパート
回答済み 9ヶ月前
profile pictureAWS
エキスパート
レビュー済み 8ヶ月前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ