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달 전335회 조회
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~

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠