VM::EC2::ELB::BackendServerDescription3pm
Load balancer backend server description
Usage
use VM::EC2;my $ec2 = VM::EC2->new(...);my $lb = $ec2->describe_load_balancers('my-lb');my @descs = $lb->BackendServerDescriptions;foreach my $desc (@descs) {print $desc->InstancePort,":\n";foreach ($desc->PolicyNames) {print $_,"\n";}}
Overview
This object is used to describe the BackendServerDescription data type, which is one of the response elements of the DescribeLoadBalancers API call.
Methods
The following object methods are supported:
InstancePort -- Returns the port on which the back-end server is listening.PolicyNames -- Returns an array of policy names enabled for the back-endserver.
String overloading
NONE.
Releases
6 releases since Debian 8 (Jessie); the text changed 3 times.