Can AWS IoT add a new lifecycle event for PING response?

0

Currently AWS IoT supports lifecycle events for connected/disconnected/subscribed/unsubscribed.

I'd like to be able to plug a lambda function into the PING response sent by a client keep-alive, in order to progressively delay the TTL set in my application's Session record for that connection (dynamodb).

Currently there is no way that I'm aware of to natively handle this with lambda in the same way I can other lifecycle events, as the PING response isn't available to use as an IoT topic rule.

Is there a way to do this or can this be added as a new optional lifecycle event?

Thanks

  • Can you explain your use case for using DynamoDB TTL? Are you trying to detect stale connections?

borg
已提問 1 年前檢視次數 106 次
沒有答案

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

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

回答問題指南