1VM::EC2::ELB::PolicyDesUcsreirptCioonnt(r3i)buted Perl DVoMc:u:mEeCn2t:a:tEiLoBn::PolicyDescription(3)
2
3
4
6 VM::EC2::ELB::PolicyDescription - Load Balancer Policy
7
9 use VM::EC2;
10
11 my $ec2 = VM::EC2->new(...);
12 my $lb = $ec2->describe_load_balancers(-load_balancer_name=>'my-lb');
13 my @policy = $lb->describe_policies;
14 foreach (@policy) {
15 print $_->PolicyName," : ",$_->PolicyTypeName,"\n";
16 }
17
19 This object is used to describe the result of a
20 DescribeLoadBalancerPolicies ELB API call.
21
23 The following object methods are supported:
24
25 PolicyName -- The policy name
26 PolicyTypeName -- A L<VM::EC2::ELB::PolicyTypeDescription> object
27 PolicyAttributeDescriptions -- A series of L<VM::EC2::ELB::PolicyAttribute>
28 objects
29 policy_attributes -- Alias for PolicyAttributeDescriptions
30
32 In string context, the object returns the Policy Name.
33
35 VM::EC2 VM::EC2::Generic VM::EC2::ELB VM::EC2::ELB::Policies
36 VM::EC2::ELB::PolicyAttribute VM::EC2::ELB::PolicyTypeDescription
37
39 Lance Kinley <lkinley@loyaltymethods.com>.
40
41 Copyright (c) 2012 Loyalty Methods, Inc.
42
43 This package and its accompanying libraries is free software; you can
44 redistribute it and/or modify it under the terms of the GPL (either
45 version 1, or at your option, any later version) or the Artistic
46 License 2.0. Refer to LICENSE for the full license text. In addition,
47 please see DISCLAIMER.txt for disclaimers of warranty.
48
49
50
51perl v5.32.0 2020-07-28VM::EC2::ELB::PolicyDescription(3)