AWS Lambda Integration
Invoke AWS Lambda functions based on alerts in ilert
AWS Lambda is a serverless compute service that lets you run code without provisioning or managing servers, creating workload-aware cluster scaling logic, maintaining event integrations, or managing runtimes.
Beforehand make sure that you have created an AWS lambda function in your AWS project and got its public
URLhandy. You might also create an additional authorization value e.g. a secure random string that you are evaluating in the HTTP request
Authorizationheader when you function is invoked by ilert, we acutally suggest using this.
Go to the connectors tab of your account.
And create a new connector. Choose AWS lambda as type (you may add the additional
Authorizationparameter as stated in the beginning of this doc.)
Click on save to save the connector.
Visit the alert source (view) whose alerts should trigger your serverless function. Navigate to the Alert actions tab and click on the Create new alert action button.
Choose AWS lambda as type and select your previously created connector. Enter a name and the url targeting your public function. You may also customize the HTTP request body that is used to invoke your function.
Click on save to create the alert action, you may test the alert action in the following screen.