Billing of 'triggers'

1

Rules triggered: $0.15 (per million rules triggered / per million actions executed)

Does 'triggered' mean a rule matched? In other words if the rule is a 'select' and it didn't match the WHERE clause, does that count as a 'triggering' in terms of pricing? It takes CPU cycles to process those rules, even if they don't result in a match. It seems wrong to me that would be free.

profile picture
wz2b
已提問 2 年前檢視次數 182 次
1 個回答
1
已接受的答案

"Triggered" means that a message is received on the topic that the rule is subscribed to. So the FROM is a match. Hence your intuition is correct: even if the WHERE clause evaluates to false, it's still a trigger because the matching topic caused an evaluation to occur. And you will be metered for at least one action:

https://aws.amazon.com/iot-core/pricing/additional-details/#Rules_Engine

A rule that is triggered will always meter, at minimum, one rule and one action. For example, a 5kb message that triggers one rule will meter one rule and one action even if it does not invoke any corresponding actions.

profile pictureAWS
專家
Greg_B
已回答 2 年前

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

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

回答問題指南