IoT Core Rule SQL - Access 'Thing' attribute
Hi,
I'd like to enrich messages received by an IoT Core rule with the value of an attribute assigned to the 'Thing' representation of my device, but the only way to do this seems to be to use the `aws_lambda` SQL function as described here: https://docs.aws.amazon.com/iot/latest/developerguide/iot-sql-functions.html#iot-func-aws-lambda, which seems a rather awkward way of accessing information already stored and managed inside of IoT Core.
Is there a better way of accessing 'Thing' attributes within an IoT Core rule SQL statement?
Many thanks.