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
demandé il y a 6 mois335 vues
2 réponses
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
EXPERT
répondu il y a 6 mois
  • 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"]
répondu il y a 6 mois
profile pictureAWS
EXPERT
vérifié il y a 6 mois
  • I have updated the question by including the image. Hopefully u can help me to solve it. Thank you~

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions