webhooks.xyz

Examples / Cloud events: AWS, Google Cloud and Azure / AWS CloudWatch alarms (via SNS)

AWS CloudWatch alarms (via SNS) webhooks

Alarm state changes (ALARM, OK, INSUFFICIENT_DATA) for any metric, published to SNS.

Events

  • ALARM
  • OK
  • INSUFFICIENT_DATA

Signature

The SNS envelope is signed (SigningCertURL + Signature). The event is JSON inside the SNS Message string.

Retries

SNS delivery policy: 3 attempts by default, configurable.

See a retry schedule in the calculator.

Sample request from AWS CloudWatch alarms (via SNS)illustrative, shortened
Content-Typetext/plain; charset=UTF-8x-amz-sns-message-typeNotification
{
  "Type": "Notification",
  "Subject": "ALARM: \"shop-api-5xx\" in EU (Frankfurt)",
  "Message": "{\"AlarmName\":\"shop-api-5xx\",\"NewStateValue\":\"ALARM\",\"OldStateValue\":\"OK\",\"NewStateReason\":\"Threshold Crossed: 1 datapoint [7.2] was greater than 5.0\",\"StateChangeTime\":\"2026-10-09T06:34:00.000+0000\",\"Region\":\"EU (Frankfurt)\",\"Trigger\":{\"MetricName\":\"5XXError\",\"Namespace\":\"AWS/ApiGateway\",\"Threshold\":5.0}}",
  "Timestamp": "2026-10-09T06:34:01.000Z"
}