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
demandé il y a 2 ans374 vues
2 réponses
1
Réponse acceptée

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
répondu il y a 2 ans
  • 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
répondu il y a 2 ans
  • 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.

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions