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 年前

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

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

回答问题的准则