Skip to content

Instantly share code, notes, and snippets.

@hlmiao
hlmiao / GlueLastJobDuration.py
Created October 19, 2022 08:34 — forked from Lydon-01/GlueLastJobDuration.py
Script to get a specific AWS Glue Job and tell you the duration of the last run.
## Python 2.7
## GlueLastRunDuration.py
## Version 1
## by Lydon Carter October 2018
## USE
# Script to get a specific AWS Glue Job and tell you the duration of
# the last run.
# Notes:
# -- The script will use the location you setup for your Glue Context in the "Needed stuff"
@hlmiao
hlmiao / lambda_function.py
Created September 10, 2021 15:56 — forked from psa-jforestier/lambda_function.py
AWS Lambda function to gzip compress file when upload to S3 (will replace original file with gz version)
###
### This gist contains 2 files : settings.json and lambda_function.py
###
### settings.json
{
"extensions" : ["*.hdr", "*.glb", "*.wasm"]
}
### lambda_function.py