diff --git a/src/notify.py b/src/notify.py new file mode 100644 index 0000000000000000000000000000000000000000..9f1bca88efc246b304e5f3b7d41793e296ad7d67 --- /dev/null +++ b/src/notify.py @@ -0,0 +1,14 @@ +from utils import check_urls + + +def handler(event, context): # pylint: disable=unused-argument + """Lambda event handler.""" + checks = [ + {"url": "http://notify.shore.co.il/", "codes": [301, 302]}, + {"url": "https://notify.shore.co.il/ping"}, + ] + check_urls(checks) + + +if __name__ == "__main__": + handler("event", "context")