Cant add a dynamoDB trigger in Lambda Function

0

I am building a Lambda function but I cant add a trigger. After I select dynamoDB in the trigger section, it keep loading or show nothing for me to select the DynamoDB. Can AWS solve this ASAP?

Enter image description here

OR

Enter image description here

Lim
feita há 6 meses335 visualizações
2 Respostas
2

If your view is similar to below, then ensure that you enable a DynamoDB stream on at least one table.

Enter image description here

If you don't get that far, ensure the role you are creating the trigger with has the necessary DynamoDB roles, such as ListTables/DescribeTable/ListStreams/DescribeStream

profile pictureAWS
ESPECIALISTA
respondido há 6 meses
  • I have updated the question by including the image. Hopefully u can help me to solve it. Thank you~

  • Your role needs the permissions I mentioned.

0

Does your Lambda have the proper policy in place? Your lambda needs to have access to the following operations on the dynamodb db stream arn

 ["dynamodb:GetRecords",
      "dynamodb:GetShardIterator",
      "dynamodb:DescribeStream",
      "dynamodb:ListStreams"]
respondido há 6 meses
profile pictureAWS
ESPECIALISTA
avaliado há 6 meses
  • I have updated the question by including the image. Hopefully u can help me to solve it. Thank you~

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