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
gefragt vor 6 Monaten337 Aufrufe
2 Antworten
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
EXPERTE
beantwortet vor 6 Monaten
  • 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"]
beantwortet vor 6 Monaten
profile pictureAWS
EXPERTE
überprüft vor 6 Monaten
  • I have updated the question by including the image. Hopefully u can help me to solve it. Thank you~

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen