VM::EC2::ELB:Policies - Elastic Load Balancer Policies
Contents
Description
This object is used to describe the policies that are attached to an Elastic Load Balancer, segregated by
type. To more easily obtain a full list of policies associated with the ELB, used the
VM::EC2->describe_load_balancers() method.
Methods
The following object methods are supported:
AppCookieStickinessPolicies -- Application-based cookie stickiness policies
LBCookieStickinessPolicies -- Load Balancer-based cookie stickiness policies
OtherPolicies -- Other Policies
Name
VM::EC2::ELB:Policies - Elastic Load Balancer Policies
See Also
VM::EC2 VM::EC2::Generic VM::EC2::ELB
String Overloading
NONE.
Synopsis
use VM::EC2;
my $ec2 = VM::EC2->new(...);
my $lb = $ec2->describe_load_balancers('my-lb');
my $p = $lb->Policies;
my @lb_policies = $p->LBCookieStickinessPolicies;
my @app_policies = $p->AppCookieStickinessPolicies;
my @other_policies = $p->OtherPolicies;
