What policies use for AWS IoT core with sns and dynamoDB

0

I want create a architecture, inside to Learner Lab, but I don't know what police use, because inside of Learned Lab, I can't create role. I'm try do this my thing(temperature) send a message to IoT core and save IoT data inside to dynamoDB if temperature > 30 send a message from iot to sns

  • Can you share a link to Learner Lab? Not familiar with that one. As for AWS IoT Rules, an assumed role is needed to allow AWS IoT (iot) to interact with other services. With more details on the Learner Lab, I can provide guidance.

1 個回答
0
已接受的答案

Here is an example of Granting an AWS IoT rule the access it requires and for specific services it is listed here https://docs.aws.amazon.com/iot/latest/developerguide/iot-rule-actions.html

Example

SNS

An IAM role that AWS IoT can assume to perform the sns:Publish operation. For more information, see Granting an AWS IoT rule the access it requires.

In the AWS IoT console, you can choose or create a role to allow AWS IoT to perform this rule action.

DynamoDB

An IAM role that AWS IoT can assume to perform the dynamodb:PutItem operation. For more information, see Granting an AWS IoT rule the access it requires.

profile pictureAWS
專家
已回答 1 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南