How to create an event in AWS Cloudwatch to trigger a Lambda Function
Amazon CloudWatch Events describe changes in AWS resources. In this article, we will create an event rule which will check for event of EC2 State change and trigger a lambda function.
Source: Howtoforge Linux Howtos und Tutorials