File Coverage

blib/lib/Paws/ELB/LoadBalancerAttributes.pm
Criterion Covered Total %
statement 6 6 100.0
branch n/a
condition n/a
subroutine 2 2 100.0
pod n/a
total 8 8 100.0


line stmt bran cond sub pod time code
1             package Paws::ELB::LoadBalancerAttributes;
2 1     1   285 use Moose;
  1     1   2  
  1         7  
  1         584  
  1         4  
  1         11  
3             has AccessLog => (is => 'ro', isa => 'Paws::ELB::AccessLog');
4             has AdditionalAttributes => (is => 'ro', isa => 'ArrayRef[Paws::ELB::AdditionalAttribute]');
5             has ConnectionDraining => (is => 'ro', isa => 'Paws::ELB::ConnectionDraining');
6             has ConnectionSettings => (is => 'ro', isa => 'Paws::ELB::ConnectionSettings');
7             has CrossZoneLoadBalancing => (is => 'ro', isa => 'Paws::ELB::CrossZoneLoadBalancing');
8             1;
9              
10             ### main pod documentation begin ###
11              
12             =head1 NAME
13              
14             Paws::ELB::LoadBalancerAttributes
15              
16             =head1 USAGE
17              
18             This class represents one of two things:
19              
20             =head3 Arguments in a call to a service
21              
22             Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
23             Each attribute should be used as a named argument in the calls that expect this type of object.
24              
25             As an example, if Att1 is expected to be a Paws::ELB::LoadBalancerAttributes object:
26              
27             $service_obj->Method(Att1 => { AccessLog => $value, ..., CrossZoneLoadBalancing => $value });
28              
29             =head3 Results returned from an API call
30              
31             Use accessors for each attribute. If Att1 is expected to be an Paws::ELB::LoadBalancerAttributes object:
32              
33             $result = $service_obj->Method(...);
34             $result->Att1->AccessLog
35              
36             =head1 DESCRIPTION
37              
38             The attributes for a load balancer.
39              
40             =head1 ATTRIBUTES
41              
42              
43             =head2 AccessLog => L<Paws::ELB::AccessLog>
44              
45             If enabled, the load balancer captures detailed information of all
46             requests and delivers the information to the Amazon S3 bucket that you
47             specify.
48              
49             For more information, see Enable Access Logs in the I<Classic Load
50             Balancer Guide>.
51              
52              
53             =head2 AdditionalAttributes => ArrayRef[L<Paws::ELB::AdditionalAttribute>]
54              
55             This parameter is reserved.
56              
57              
58             =head2 ConnectionDraining => L<Paws::ELB::ConnectionDraining>
59              
60             If enabled, the load balancer allows existing requests to complete
61             before the load balancer shifts traffic away from a deregistered or
62             unhealthy instance.
63              
64             For more information, see Configure Connection Draining in the
65             I<Classic Load Balancer Guide>.
66              
67              
68             =head2 ConnectionSettings => L<Paws::ELB::ConnectionSettings>
69              
70             If enabled, the load balancer allows the connections to remain idle (no
71             data is sent over the connection) for the specified duration.
72              
73             By default, Elastic Load Balancing maintains a 60-second idle
74             connection timeout for both front-end and back-end connections of your
75             load balancer. For more information, see Configure Idle Connection
76             Timeout in the I<Classic Load Balancer Guide>.
77              
78              
79             =head2 CrossZoneLoadBalancing => L<Paws::ELB::CrossZoneLoadBalancing>
80              
81             If enabled, the load balancer routes the request traffic evenly across
82             all instances regardless of the Availability Zones.
83              
84             For more information, see Configure Cross-Zone Load Balancing in the
85             I<Classic Load Balancer Guide>.
86              
87              
88              
89             =head1 SEE ALSO
90              
91             This class forms part of L<Paws>, describing an object used in L<Paws::ELB>
92              
93             =head1 BUGS and CONTRIBUTIONS
94              
95             The source code is located here: https://github.com/pplu/aws-sdk-perl
96              
97             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
98              
99             =cut
100