Created
September 15, 2017 18:04
-
-
Save marufeuille/40d147b8d2f2d6ac9e567458d6cf977b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import slackweb | |
def lambda_handler(event, context): | |
slack = slackweb.Slack(url="YOUR WEBHOOK URL PUTS HERE") | |
slack.notify(text="Hello, World!!", channel="#YOUR CHANNEL HERE", username="USERNAME HERE", icon_emoji=":smiling_imp:") | |
return "succeeded" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment