AWS CloudFormation
User Guide (API Version 2010-05-15)

Elastic Load Balancing ConnectionDrainingPolicy

The ConnectionDrainingPolicy property describes how deregistered or unhealthy instances handle in-flight requests for the AWS::ElasticLoadBalancing::LoadBalancer resource. Connection draining ensures that the load balancer completes serving all in-flight requests made to a registered instance when the instance is deregistered or becomes unhealthy. Without connection draining, the load balancer closes connections to deregistered or unhealthy instances, and any in-flight requests are not completed.

For more information about connection draining and default values, see Enable or Disable Connection Draining for Your Load Balancer in the Elastic Load Balancing User Guide.



{ "Enabled" : Boolean, "Timeout" : Integer }


Enabled: Boolean Timeout: Integer



Whether or not connection draining is enabled for the load balancer.

Required: Yes

Type: Boolean


The time in seconds after the load balancer closes all connections to a deregistered or unhealthy instance.

Required: No

Type: Integer

On this page: