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.
Go to the connectors tab of your account.
And create a new connector. Choose AWS lambda as type (you may add the additional
Authorization parameter as stated in the beginning of this doc.)
Click on save to save the connector.
Visit the alert source (view) whose incidents should trigger your serverless function. Navigate to the connections tab and create a new connection.
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 connection, you may test the connection in the following screen.