A CloudWatch Event Rule that detects changes to AWS Config Rule compliance status and publishes change events to an SNS topic for notification.
AWSTemplateFormatVersion: '2010-09-09'
Resources:
EventRule:
Type: 'AWS::Events::Rule'
Properties:
Name: detect-config-rule-compliance-changes
Description: >-
A CloudWatch Event Rule that detects changes to AWS Config Rule
compliance status and publishes change events to an SNS topic for
notification.
State: ENABLED
Targets:
- Arn: ''
Id: target-id1
EventPattern:
detail-type:
- Config Rules Compliance Change
source:
- aws.config
Parameters: {}
Metadata: {}
Conditions: {}