This example sets up a CloudWatch Event Rule with a Target and IAM Role & Policy to send all autoscaling events into Kinesis stream for further examination.
See more details about CloudWatch Events in the official AWS docs.
terraform apply \
-var=aws_region=us-west-2