VM::EC2::ELB::PolicyAttribute - Elastic Load Balancer Policy Attribute
Contents
Description
This object is used to describe the ELB PolicyAttribute data type, which is part of the result of a
DescribeLoadBalancerPolicies API call.
Methods
The following object methods are supported:
AttributeName -- Policy Attribute Name
AttributeValue -- Policy Attribute Value
Name
VM::EC2::ELB::PolicyAttribute - Elastic Load Balancer Policy Attribute
See Also
VM::EC2 VM::EC2::Generic VM::EC2::ELB VM::EC2::ELB::Policies
String Overloading
In string context, the object will return an attribute name=value pair.
Synopsis
use VM::EC2;
my $ec2 = VM::EC2->new(...);
my @policies = $ec2->describe_load_balancer_policies(-load_balancer_name=>'my-lb');
foreach my $p (@policies) {
my @attr = $p->policy_attributes;
foreach (@attr) {
print $_,"\n";
}
}
