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 Answer
0
Accepted Answer

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
EXPERT
answered a year ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions