动态创建AWS IoT主题 [英] Dynamically create AWS IoT topic

查看:125
本文介绍了动态创建AWS IoT主题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否可以动态创建AWS IoT主题.

Is it possible to create a AWS IoT topic dynamically .

例如,是否可以设置规则,一旦收到消息,它就会动态创建主题或通过lambda函数创建主题.

For example, Is it possible to set a RULE where once the message is received, It creates a topic dynamically or through lambda function.

或者可以通过AWS-SDK

Or is it possible through AWS-SDK

任何建议都会有所帮助

推荐答案

您无需在AWS IoT(MQTT)中显式创建"主题.您只需订阅或开始发布主题,如果该主题尚不存在,则IoT服务将自动创建该主题.

You don't have to explicitly "create" topics in AWS IoT (MQTT). You would simply subscribe to, or start posting to a topic and if the topic doesn't already exist the IoT service will create it automatically.

这篇关于动态创建AWS IoT主题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆