In order to send data from Greengrass lambda to AWS IoT Core rules engine,we need to create a subscription with source as the Lambda and target as IoT Core.
Should lambda identify itself as an IoT device (thing, with credentials) to the IoT core via device sdk? Or is this optional and the lambda can alternatively send data to IoT Core directly using greengrass sdk?