VM::EC2::ELB::PolicyDescription - Load Balancer Policy
Contents
Description
This object is used to describe the result of a DescribeLoadBalancerPolicies ELB API call.
Methods
The following object methods are supported:
PolicyName -- The policy name
PolicyTypeName -- A L<VM::EC2::ELB::PolicyTypeDescription> object
PolicyAttributeDescriptions -- A series of L<VM::EC2::ELB::PolicyAttribute>
objects
policy_attributes -- Alias for PolicyAttributeDescriptions
Name
VM::EC2::ELB::PolicyDescription - Load Balancer Policy
See Also
VM::EC2 VM::EC2::Generic VM::EC2::ELB VM::EC2::ELB::Policies VM::EC2::ELB::PolicyAttribute
VM::EC2::ELB::PolicyTypeDescription
String Overloading
In string context, the object returns the Policy Name.
Synopsis
use VM::EC2;
my $ec2 = VM::EC2->new(...);
my $lb = $ec2->describe_load_balancers(-load_balancer_name=>'my-lb');
my @policy = $lb->describe_policies;
foreach (@policy) {
print $_->PolicyName," : ",$_->PolicyTypeName,"\n";
}
