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년 전

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

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

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

관련 콘텐츠