There doesn’t appear to be such a configuration, but a better question to be ask might be “how can I make sure that the health checks performed by my load-balancer correctly reflect the health of the application?” For that, you can configure the NLB health checks to hit specific HTTP endpoints on your app that you create for “readiness” and “liveness” checks (see simple example above). Check out this help article for more cool ideas for checking application status.