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.

feita há 9 meses214 visualizações
1 Resposta
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
ESPECIALISTA
respondido há 9 meses
profile pictureAWS
ESPECIALISTA
avaliado há 9 meses

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas