- Newest
- Most votes
- Most comments
To address the issue of receiving excessive notifications from aws-controltower-AggregateSecurityNotifications, AWS recommends implementing a Lambda function to filter these messages. While AWS provides guidance on this approach in their documentation, they do not offer a specific sample Lambda function code.
Steps to Implement the Lambda Function:
Create a Lambda Function:
Develop a Lambda function that processes incoming notifications. Within the function, define logic to filter out unwanted notifications based on criteria such as specific event types, resource identifiers, or compliance statuses. Set Up an Amazon SNS Topic:
Configure an Amazon Simple Notification Service (SNS) topic to receive notifications from AWS Control Tower. Subscribe the Lambda Function to the SNS Topic:
Subscribe your Lambda function to the SNS topic so that it triggers upon receiving new notifications. Forward Filtered Notifications:
After processing, the Lambda function can forward the filtered notifications to another SNS topic, an email address, or any other preferred communication channel. Additional Resources:
AWS Control Tower Notifications Documentation: Provides an overview of setting up notifications and integrating with Lambda functions.
AWS Lambda Developer Guide: Offers detailed information on creating and managing Lambda functions, including examples and best practices.
AWS SNS Documentation: Describes how to set up and manage SNS topics and subscriptions.
By following these steps and utilizing the provided resources, you can create a Lambda function tailored to filter out the noisy notifications from aws-controltower-AggregateSecurityNotifications, ensuring that you only receive pertinent alerts.
answered 2 years ago
Relevant content
asked 4 years ago
- AWS OFFICIALUpdated 3 months ago
- AWS OFFICIALUpdated 5 months ago
