unable to perform lambda invoke

0

i get this error in awsIotLogsV2

"details": "iot.amazonaws.com is unable to perform: lambda:InvokeFunction on resource: arn:aws:lambda:

can someone explain it for me?

已提问 2 年前1283 查看次数
1 回答
1
已接受的回答

The iot service has not been authorised to invoke your function.

Double check you have added permission for iot to invoke your lambda

AWS
专家
Peter_G
已回答 2 年前
profile pictureAWS
专家
已审核 2 年前
  • Thales for the reply @peter_g. The resource you pointed to refers to the cli, do you know how to do it via the console? All the amazon console guides seem to refer to previous iterations of the console which are no longer accessible!

  • In the console Configuration --> Permissions --> Resource-based-policy. You can use the "Add permissions" button to add the iot service

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

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

回答问题的准则