4

I am having trouble in defining a webhook on AWS CloudWatch(I am new to this technology). I checked out a lot of forums but I could not find out the right answer. Basically, what I need is a webhook or a similar way for sending an alert from CloudWatch to a web server via http post, every time the alert is generated.

Any help would be greatly appreciated!

Andrei Suciu
  • 53
  • 1
  • 3

1 Answers1

2

Configure CloudWatch to send the alert to an SNS topic. Then have SNS send the message to an HTTP endpoint.

Mark B
  • 183,023
  • 24
  • 297
  • 295
  • I am stuck with the same problem but your solution is not usable: said webhooks are generally not owned by whoever triggers them (this is the whole point of webhooks, so that ONE can HOOK into WEB services of OTHERS/3rd parties). That being said: SNS can NOT be implemented since the strategy of SNS requires the HTTP endpoint to CONFIRM subscription. As I said, I cannot modify the http endpoint so that it returns a confirmation response to SNS. :/ Any other ideas ? – Jona Rodrigues Jan 08 '18 at 01:34
  • @JonaRodrigues please ask a separate question on here instead of tacking onto this one. – Mark B Jan 08 '18 at 14:32