A CloudWatch Event Rule that detects changes to CloudTrail configutation and publishes change events to an SNS topic for notification.

 
Tags
configuration changes
Items
1
Size
0.7 KB
Missing Parameters
AWSTemplateFormatVersion: '2010-09-09'
Resources:
  EventRule:
    Type: 'AWS::Events::Rule'
    Properties:
      Name: detect-cloudtrail-changes
      Description: >-
        A CloudWatch Event Rule that detects changes to CloudTrail configutation
        and publishes change events to an SNS topic for notification.
      State: ENABLED
      EventPattern:
        detail-type:
          - AWS API Call via CloudTrail
        detail:
          eventSource:
            - cloudtrail.amazonaws.com
          eventName:
            - StopLogging
            - DeleteTrail
            - UpdateTrail
      Targets:
        - Arn: ''
          Id: target-id1
Parameters: {}
Metadata: {}
Conditions: {}

Customize Cf Template

Rule Configuration

Target Details


* Required field