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
asked 2 years ago176 views
1 Answer
1
Accepted Answer

"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
EXPERT
Greg_B
answered 2 years 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