How do i write a AWS IoT Core rule for subscribing & unsubscribing to a topic.

0

I want to invoke a lambda when a user subscribes & unsubscribes to one of my topic's on IoT. Could someone tell me how to do this?

If this isn't possible yet it should really be added to the IoT service.

feita há 2 anos295 visualizações
1 Resposta
1
Resposta aceita

You can have the rule get triggered based on the relevant reserved topic. For example:

SELECT * FROM '$aws/events/subscriptions/subscribed/+'
AWS
ESPECIALISTA
respondido há 2 anos

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas