AWS Lambda Function for draining ECS container instances in response to EC2 auto scaling lifecycle hooks