Amazon IoT Core now supports IoT thing registry data retrieval from IoT rules
Amazon IoT Core announces a new capability to dynamically retrieve IoT thing registry data using an IoT rule, enhancing your ability to filter, enrich, and route IoT messages. Using the new get_registry_data() inline rule function, you can access IoT thing registry data, such as device attributes, device type, and group membership and leverage this information directly in IoT rules.
For example, your rule can filter Amazon IoT Core connectivity lifecycle events and then retrieve thing attributes (such as "test" or "production" device) to inform routing of lifecycle events to different endpoints for downstream processing. You can also use this feature to enrich or route IoT messages with registry data from other devices. For instance, you can add a sensor’s threshold temperature from IoT thing registry to the messages relayed by its gateway.
To get started, connect your devices to Amazon IoT Core and store your IoT device data in IoT thing registry. You can then use IoT rules to retrieve your registry data. These feature enhancements are available in both regions where Amazon IoT Core is available in 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.