github.com/candidpartners/terraform@v0.9.5-0.20171005231213-29f5f88820f6/examples/aws-cloudwatch-events/sns/README.md (about)

     1  # CloudWatch Event sent to SNS Topic
     2  
     3  This example sets up a CloudWatch Event Rule with a Target and SNS Topic
     4  to send any CloudTrail API operation into that SNS topic. This allows you
     5  to add SNS subscriptions which may notify you about suspicious activity.
     6  
     7  See more details about [CloudWatch Events](http://docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide/WhatIsCloudWatchEvents.html)
     8  in the official AWS docs.
     9  
    10  ## How to run the example
    11  
    12  ```
    13  terraform apply \
    14  	-var=aws_region=us-west-2
    15  ```