This is a place where I keep various Lambda scripts, which I configure as scheduled events. Feel free to use/modify them as desired.
To update the Lambda, create a Python deployment package containing the Python script, as well as any dependencies necessary. Then, upload this .zip file to Lambda.
rm -rf ./build
mkdir ./build
cp -r ./mycron/ ./build
pip install -r ./mycron/requirements.txt -t ./build
zip -r lambda.zip ./build