IoT Core Lifecycle events missing from settings.

0

I am trying to enable the Lifecycle events in the IoT Core to take advantage of the connect and disconnect events. Are these events still available? I am unable to see them in the settings to enable them.

These are the only options available to me:

Select the events that you want enabled. This will allow you to subscribe to them.


Job completed, canceled

Job execution: success, failed, rejected, canceled, removed

Thing: created, updated, deleted

Thing group: added, removed

Thing group hierarchy: added, removed

Thing group membership: added, removed

Thing type: created, updated, deleted

Thing type association: added, removed
已提問 2 年前檢視次數 374 次
2 個答案
1
已接受的答案

Hi,

While the documentation calls out these events need to be enabled, I checked in an account with no managed events enables (nor fleet indexing), and am seeing connect/disconnect events when subscribed to $aws/events/presence/#. You can test by opening the MQTT test client and subscribing to that, then duplicate that browser tab which will create a new client. In the first client's subscriptions you should see an event generated.

Let me know if that works.

AWS
Gavin_A
已回答 2 年前
  • It caught me out for a second too, probably due to the new console interface. I'll open a support case to have the tech writers review and correct.

  • Seems like you are right. The documentation is incorrect when saying you need to enable these events. The messages are available without enabling anything.

1

Select, "Thing: created, updated, deleted." I can't say this with authority, but I have this selected in my account and I am able to subscribe the connect and disconnect events.

Erik
已回答 2 年前
  • Looks like that worked. Thank you.

    Edit: These messages are actually available by default without needing to enable anything. The documentation seems to be incorrect about these messages needed to be enabled.

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

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

回答問題指南