File Coverage

blib/lib/Paws/ELB/Listener.pm
Criterion Covered Total %
statement 3 3 100.0
branch n/a
condition n/a
subroutine 1 1 100.0
pod n/a
total 4 4 100.0


line stmt bran cond sub pod time code
1             package Paws::ELB::Listener;
2 1     1   475 use Moose;
  1         2  
  1         8  
3             has InstancePort => (is => 'ro', isa => 'Int', required => 1);
4             has InstanceProtocol => (is => 'ro', isa => 'Str');
5             has LoadBalancerPort => (is => 'ro', isa => 'Int', required => 1);
6             has Protocol => (is => 'ro', isa => 'Str', required => 1);
7             has SSLCertificateId => (is => 'ro', isa => 'Str');
8             1;
9              
10             ### main pod documentation begin ###
11              
12             =head1 NAME
13              
14             Paws::ELB::Listener
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::Listener object:
26              
27             $service_obj->Method(Att1 => { InstancePort => $value, ..., SSLCertificateId => $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::Listener object:
32              
33             $result = $service_obj->Method(...);
34             $result->Att1->InstancePort
35              
36             =head1 DESCRIPTION
37              
38             Information about a listener.
39              
40             For information about the protocols and the ports supported by Elastic
41             Load Balancing, see Listeners for Your Classic Load Balancer in the
42             I<Classic Load Balancer Guide>.
43              
44             =head1 ATTRIBUTES
45              
46              
47             =head2 B<REQUIRED> InstancePort => Int
48              
49             The port on which the instance is listening.
50              
51              
52             =head2 InstanceProtocol => Str
53              
54             The protocol to use for routing traffic to instances: HTTP, HTTPS, TCP,
55             or SSL.
56              
57             If the front-end protocol is HTTP, HTTPS, TCP, or SSL,
58             C<InstanceProtocol> must be at the same protocol.
59              
60             If there is another listener with the same C<InstancePort> whose
61             C<InstanceProtocol> is secure, (HTTPS or SSL), the listener's
62             C<InstanceProtocol> must also be secure.
63              
64             If there is another listener with the same C<InstancePort> whose
65             C<InstanceProtocol> is HTTP or TCP, the listener's C<InstanceProtocol>
66             must be HTTP or TCP.
67              
68              
69             =head2 B<REQUIRED> LoadBalancerPort => Int
70              
71             The port on which the load balancer is listening. On EC2-VPC, you can
72             specify any port from the range 1-65535. On EC2-Classic, you can
73             specify any port from the following list: 25, 80, 443, 465, 587,
74             1024-65535.
75              
76              
77             =head2 B<REQUIRED> Protocol => Str
78              
79             The load balancer transport protocol to use for routing: HTTP, HTTPS,
80             TCP, or SSL.
81              
82              
83             =head2 SSLCertificateId => Str
84              
85             The Amazon Resource Name (ARN) of the server certificate.
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