IoT Policy rules for publishing directly to rules (basic ingestion)

0

The AWS IoT Core action resources documentation explains how you can formulate policy statements for resource-limiting iot:Publish.

I am wondering: can you use this control access to be able to publish to basic ingestion rules. What I'm looking to do is to allow certain clients to ONLY publish to rules via basic ingestion, perhaps specific rules. Is something like this this okay:

resources: ["arn:aws:iot:*:*:topic/$aws/rules/*"]

profile picture
wz2b
질문됨 9달 전274회 조회
1개 답변
2
수락된 답변

Hello,

Yes, you can use "resources: ["arn:aws:iot:::topic/$aws/rules/*"]"

According to the below documentation, we can observe below:

Before you use Basic Ingest, verify that your device or application is using a policy that has publish permissions on $aws/rules/. Alternatively, you can specify permission for individual rules with $aws/rules/rule_name/ in the policy.

[+]. https://docs.aws.amazon.com/iot/latest/developerguide/iot-basic-ingest.html#iot-basic-ingest-use

AWS
답변함 9달 전
profile pictureAWS
전문가
Greg_B
검토됨 9달 전

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

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

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