VM::EC2::ELB:Attributes::ConnectionDraining - Object describing the ConnectionDraining attribute of an
Contents
Description
This object is returned as part of the DescribeLoadBalancerAttributes API call.
Methods
The following object methods are supported:
Enabled -- Specifies whether connection draining is enabled
for the load balancer.
Timeout -- Specifies the maximum time (in seconds) to keep
the existing connections open before deregistering
the instances.
Name
VM::EC2::ELB:Attributes::ConnectionDraining - Object describing the ConnectionDraining attribute of an
Elastic Load Balancer.
See Also
VM::EC2 VM::EC2::Generic VM::EC2::ELB
String Overloading
When used in a string context, this object will interpolate the instance state.
Synopsis
use VM::EC2;
my $ec2 = VM::EC2->new(...);
my $lb = $ec2->describe_load_balancer_attributes('my-lb');
my $conn_drain = $lb->ConnectionDraining;
