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ヶ月前275ビュー
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ヶ月前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ