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

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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-elasticloadbalancing/lib/aws-sdk-elasticloadbalancing/types.rb

Overview

Note:

When making an API call, you may pass ConnectionDraining data as a hash:

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

Information about the ConnectionDraining attribute.

Instance Attribute Summary collapse

Instance Attribute Details

#enabledBoolean

Specifies whether connection draining is enabled for the load balancer.

Returns:

  • (Boolean)


343
344
345
346
347
# File 'gems/aws-sdk-elasticloadbalancing/lib/aws-sdk-elasticloadbalancing/types.rb', line 343

class ConnectionDraining < Struct.new(
  :enabled,
  :timeout)
  include Aws::Structure
end

#timeoutInteger

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

Returns:

  • (Integer)


343
344
345
346
347
# File 'gems/aws-sdk-elasticloadbalancing/lib/aws-sdk-elasticloadbalancing/types.rb', line 343

class ConnectionDraining < Struct.new(
  :enabled,
  :timeout)
  include Aws::Structure
end