stratosphere-0.1.0: EDSL for AWS CloudFormation

Safe HaskellNone
LanguageHaskell2010

Stratosphere.ResourceProperties.ConnectionDrainingPolicy

Description

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 Developer Guide.

Synopsis

Documentation

connectionDrainingPolicy Source

Constructor for ConnectionDrainingPolicy containing required fields as arguments.

cdpEnabled :: Lens' ConnectionDrainingPolicy (Val Bool') Source

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

cdpTimeout :: Lens' ConnectionDrainingPolicy (Maybe (Val Integer')) Source

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