Configure the webhook in AWS

Subscribe your endpoint webhook to a topic so that the endpoint receives messages published to that topic.

Before you begin

Ensure you have an account in AWS and have created a topic.

Role required: Responder, Manager, or Administrator

About this task

Note: While this integration with a third-party product is supported, the documentation here is based upon information provided by that third-party. More current information about the operation of that third-party’s system may be available from them directly.

Procedure

  1. Log in to the AWS console.
  2. Search for Simple Notification Service.
    Simple Notification Service.
  3. Open Simple Notification Service (SNS).
    Simple Notification Service.
  4. On the navigation pane, click Topics.
    Click to open the Topics option.
  5. Create or select a topic of type Standard, to create a subscription.
    Open topic for subscription.
  6. Click the Subscriptions tab.
    The Create subscription option.
  7. Click Create subscription.
    Figure 1. Create subscription form
    Create subscription form.
  8. From the Protocol list, select HTTPS.
  9. In the Endpoint field, enter the webhook copied from Incident Response.
    Enter the remaining fields depending on your requirements.
    Create subscription form.
  10. Click Create subscription.
    If the subscription is successful, the subscription status is changed to confirmed from pending.
    Message for a successful subscription.

    You are ready to subscribe to messages on the topic.

  11. Optional: To test the integration:
    1. From the left navigation pane, click Topics and from the existing Topics list, click to open the topic.
    2. Click Publish message.

      Publish messages through webhook.

    3. In the Message body section, enter the sample alert payload given at Sample alert for CloudWatch to test integration.

      The Publish message to topic page.

    4. Click Publish message.

      This creates a sample alert in Lightstep Incident Response.

What to do next

Add the SNS topic to your CloudWatch alarm.
  1. Navigate to CloudWatch > Alarms.
  2. Create an alarm or edit an existing one.
  3. Enter the conditions for the alarm.

    For detailed information about CloudWatch alarms, see Using Amazon CloudWatch alarms.

  4. In Step 2 Configure actions, while defining the alarm state trigger:
    1. Select the option Select an existing SNS topic.
    2. From the Send a notification to list, select the SNS topic containing the webhook from Incident Response.
    Configure alarm actions.

Depending on the set conditions, alarms in Amazon CloudWatch will create alerts in Incident Response.