Using AWS config to send rules to event bus

0

When setting up AWS Config to send to > Event Bridge > SNS, am I able to specify certain rules that AWS Config generates to send to the event bus? Or am I only allow to send ALL rules to the event bus?

Does it have a configuration where I can filter out certain rules I need and want to go to event bus?

I notice my SNS rule already exists in Config and I do not believe I can create another one, is it possible to create more than one event rules with AWS config also?

1 Answer
0

Hi. AWS Config send compliance status changes events to the Default EventBridge bus and you don't need to configure that. (Many AWS Services send events to EventBridge). Using EventBridge rules you configure which of published events are of your interest, using Event patterns, where based on the Event's attributes values/patterns you decide which ones to "capture" and what to do with them (f.i send those captured events to a Lambda function, SNS topic, among others). For this specific use case with AWS Config, for instance, you can create a rule where you specify the source of the event (AWS Config service) and type of the event (compliance status change), and even the name of the AWS Config Rule.

please see details in the following documentation:
https://repost.aws/knowledge-center/config-resource-non-compliant

AWS
answered 2 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions