Deploys a Lambda function, an IoT thing, and the minimal IAM resources required to run the application
This pattern contains a sample AWS CDK stack to create an IoT rule with an AWS Lambda function.
When an IoT event is sent to an IoT topic, a Lambda function is invoked. This pattern configures a Lambda function to poll this event. The function is invoked with a payload containing the contents of the message event.