You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::ElasticLoadBalancing::Types::ConnectionDraining

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing ConnectionDraining as input to an Aws::Client method, you can use a vanilla Hash:

{
  enabled: false, # required
  timeout: 1,
}

Information about the ConnectionDraining attribute.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#enabledBoolean

Specifies whether connection draining is enabled for the load balancer.

Returns:

  • (Boolean)

    Specifies whether connection draining is enabled for the load balancer.

#timeoutInteger

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

Returns:

  • (Integer)

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