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
preguntada hace 2 años182 visualizaciones
1 Respuesta
1
Respuesta aceptada

"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
EXPERTO
Greg_B
respondido hace 2 años

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas