Posted On: Nov 17, 2024

Amazon IoT Core, a managed cloud service that lets you securely connect Internet of Things (IoT) devices to the cloud and manage them at scale, announces two new capabilities - ability to enrich MQTT messages with additional data and use thing-to-connection association to simplify permission management. Message enrichment enables developers to augment MQTT messages from devices with additional information from thing registry, without modifying their devices. The thing-to-connection association enables mapping an MQTT client to a registry thing, for client IDs that don’t match thing name. This will enable developers to leverage registry information in IoT policies, easily associate device actions to lifecycle events, and utilize existing capabilities like custom cost allocation and resource-specific logging, previously only available for matching client IDs and thing names.

To enrich all messages from devices, developers can define a subset of registry attributes as propagating attributes. They can customize their message routing or processing workflows based on this appended data. For example, in automotive applications, developers can selectively route messages to the desired backend depending on the appended metadata such as vehicle make and type stored in thing registry. Additionally, with thing-to-connection association, developers can leverage existing features like using registry metadata in IoT policies, associate Amazon IoT Core lifecycle events to a thing, do custom cost allocation using billing groups, and enable resource-specific logging, even if MQTT client ID differs from thing name.

These feature enhancements are available in both regions where IoT Core is available - Amazon Web Services China (Beijing) Region, operated by Sinnet and Amazon Web Services China (Ningxia) Region, operated by NWCD. For more information refer to the developer guide and API documentation.