Lambda Function Post to Slack

I wrote this script out of a need to practice my Python skills. The idea is that if a file gets uploaded to an S3 bucket then the function will trigger and a message with that file name will be posted to a Slack channel of your choosing.

To utilize this you will need to include the Slack pip package as well as the slackclient pip package when you upload the function to the AWS Console.

You will also need to create an OAuth key for a Slack application. If you are unfamiliar with this process feel free to drop a comment below and or shoot me a message and I can walk you through the process or write a second part of the guide.

Here is a link to the project:

If this helps you please share this post on your favorite social media platform!