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

Elastic Load Balancing V1 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, see Configure Connection Draining for Your Classic Load Balancer in the User Guide for Classic Load Balancers.



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


Enabled: Boolean Timeout: Integer



Indicates whether connection draining is enabled for the load balancer.

Required: Yes

Type: Boolean


The maximum time, in seconds, to keep existing connections open before deregistering the instances.

Required: No

Type: Integer

On this page: