This lambdas perform various tasks related to managing ASGs in response to various events and conditions. They are strongly coupled to MageOps infrastructure setup.
All of this handlers are be built into a single package for convenience just the entrypoint will changed based on which one is used.
docker run --rm --tty --volume "$(pwd):/var/app" mageops/aws-lambda-build python3 autoscaling-lambdas-deploy-package
The package is built using mageops/aws-lambda-build. Check the corresponding GitHub repository for more information.
Lambda usage is self-documenting via ansible code, see the MageOps provisioning code.