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
已提问 6 个月前337 查看次数
2 回答
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
专家
已回答 6 个月前
  • 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"]
已回答 6 个月前
profile pictureAWS
专家
已审核 6 个月前
  • I have updated the question by including the image. Hopefully u can help me to solve it. Thank you~

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则