github.com/andresvia/terraform@v0.6.15-0.20160412045437-d51c75946785/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  ```