Configure webhook in AWS

  • Versão de lançamento: Australia
  • Atualizado 12 de mar. de 2026
  • 2 min. de leitura
  • Subscribe an endpoint to the topic to receive messages published to a topic. When you subscribe an endpoint to a topic, the endpoint begins to receive messages published to the associated topic.

    Antes de Iniciar

    Ensure you have done the following actions:

    Role required: evt_mgmt_integration

    Por Que e Quando Desempenhar Esta Tarefa

    Procedimento

    1. Log in to the AWS console.
    2. Open Simple Notification Service.
    3. In the left navigation pane, click Topics and from the existing topic list, open the topic for which you want to create a subscription.
    4. Click the Subscriptions tab.
    5. Click Create subscription.
      Figura 1. Create subscription form
      Create subscription form.
    6. On the form, fill in the fields.
      Tabela 1. Create subscription form
      Field Description
      Topic ARN The Amazon Resource Name (ARN) of a topic.
      Nota:
      An Amazon Resource Name (ARN) is a file naming convention used to identify a particular resource in the Amazon Web Services (AWS) public cloud. ARNs, which are specific to AWS, help an administrator track and use AWS items and policies across AWS products and API calls.
      Protocol The type of endpoint. You select HTTPS.
      Endpoint The endpoint value, such as an email address or the web server that can receive notifications from AWS.
      Nota:
      Enter your webhook URL in this field. Example: https://admin:admin@valarem.service-now.com/api/sn_em_connector/em/inbound_event?source=aws, where admin:admin is the username and password for basic authentication.
      Enable raw message delivery Option to avoid having endpoints process the JSON formatting of messages.
      (Optional) Subscription filter policy A subscription filter policy allows you to specify attribute names and assign a list of values to each attribute name.
      (Optional) Redrive policy (dead-letter queue) A dead-letter queue to target for messages that can't be delivered to subscribers successfully. Messages that can't be delivered due to client errors or server errors are held in the dead-letter queue for further analysis or reprocessing.
    7. Click Create subscription.
      If the subscription is successful, the subscription status will be changed to confirmed from pending.
    8. Search and open CloudWatch.
    9. Create alarms for the topic.
      For example, alarm that will be triggered if user publishes a message more than once in a minute.
    10. Open Simple Notification Service.
    11. In the left navigation pane, click Topics.
    12. Click Publish message.
    13. In the message body, enter the json message that you want to send to the endpoint.
      {
        "default": "Sample fallback message",
      }
    14. Click Publish message.

    O que Fazer Depois

    ServiceNow instance will be able to receive events from AWS. The events will be saved in the [em_event] table. You can view the respective alert from the Alert column.