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

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
answered 2 years ago
  • 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
answered 2 years ago
  • 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.

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