Improve this page

Back to AWS Terraform templates index <–

CloudWatch event rule

CloudWatch event by the Sogeti community

Template Locations

Online documentation

Template reference
Service description

module "aws_cloudwatch_event_rule" {
    name = ""aws_cosole_logins""   
    event_pattern =
        {
          "detail-type": [
            "AWS Console Sign In via CloudTrail"
          ]
        } 
    target_id = ""SendToSNS""
    protocol = "email"
    endpoint = "abcdef@capgemini.com"
}