VM::EC2::ELB:Policies - Elastic Load Balancer Policies
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;
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.
The following object methods are supported:
AppCookieStickinessPolicies -- Application-based cookie stickiness policies LBCookieStickinessPolicies -- Load Balancer-based cookie stickiness policies OtherPolicies -- Other Policies
NONE.
VM::EC2 VM::EC2::Generic VM::EC2::ELB
Lance Kinley <lkinley@loyaltymethods.com>.
Copyright (c) 2012 Loyalty Methods, Inc.
This package and its accompanying libraries is free software; you can redistribute it and/or modify it under the terms of the GPL (either version 1, or at your option, any later version) or the Artistic License 2.0. Refer to LICENSE for the full license text. In addition, please see DISCLAIMER.txt for disclaimers of warranty.
To install VM::EC2, copy and paste the appropriate command in to your terminal.
cpanm
cpanm VM::EC2
CPAN shell
perl -MCPAN -e shell install VM::EC2
For more information on module installation, please visit the detailed CPAN module installation guide.