

Your Lambda function code must include logic to transform your SNS topic's notification messages for the type of webhook endpoint that you're using. For more information, see Using AWS Lambda with Amazon SNS. Create a Lambda functionįor instructions to create a Lambda function, see Getting Started with AWS Lambda. If you haven't done so already, create an SNS topic with a unique name. Note: For a list of the key-value pairs in the Amazon SNS message body JSON document, see HTTP and HTTPS notification JSON format. To transform the Amazon SNS message body JSON document for the webhook endpoint to process, use an AWS Lambda function. Similarly, Slack and Microsoft Teams webhooks both expect a JSON request with a message string corresponding to a "text" key. However, some webhooks expect JSON key-value pairs that Amazon SNS doesn't support when confirming the HTTP or HTTPS subscription.įor example, Amazon Chime webhooks expect a JSON request with a message string corresponding to a "Content" key. Adjust the additional settings to your preferences.You can use Amazon SNS to send notification messages to HTTP or HTTPS endpoints, such as webhook URLs.Under Recipients, select your new webhook from the dropdown.Under Notify, select your desired notification trigger.Navigate to a check in Splunk Synthetic Monitoring, click the gear icon, and select Edit from the dropdown.To add your webhook to a check, do the following:

You need to add your webhook to each check you want to send notifications from. Click Test test your webhook by sending a request to the Slack API endpoint.

