- Newest
- Most votes
- Most comments
To send AWS Config rule compliance events to an SNS topic in a format similar to CloudWatch Alarms, you can use Amazon EventBridge with an intermediary AWS Lambda function:
Create an EventBridge Rule:
Set up an EventBridge rule to capture AWS Config compliance events.
Add a Lambda Function:
Use a Lambda function to transform the captured events into the CloudWatch Alarm format.
Send to SNS Topic:
The Lambda function publishes the transformed payload to the SNS topic.
Steps:
EventBridge Rule:
Create a rule to capture AWS Config events (source: aws.config). Lambda Function:
Write a Lambda function to format the AWS Config event into CloudWatch Alarm format and publish it to SNS.
SNS Topic:
Ensure your SNS topic is set up and subscribed to the notifications. This approach allows you to integrate AWS Config events with an SNS topic that expects CloudWatch Alarm-formatted messages.
Relevant content
- Accepted Answerasked 3 months ago
- Accepted Answerasked 5 years ago
- AWS OFFICIALUpdated 9 months ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 9 months ago
- AWS OFFICIALUpdated 6 days ago