This is a Python Lambda script to update Network Load Balancer Target Group for VPC endpoint or internal load balancer. We extended the script to support VPC endpoint with multiple listeners.
Original AWS Blog Post Using static IP addresses for Application Load Balancers