| 1 | # Generated by default/object.tt | ||
| 2 | package Paws::ELB::Listener; | ||
| 3 | use Moose; | ||
| 4 | has InstancePort => (is => 'ro', isa => 'Int', required => 1); | ||
| 5 | has InstanceProtocol => (is => 'ro', isa => 'Str'); | ||
| 6 | has LoadBalancerPort => (is => 'ro', isa => 'Int', required => 1); | ||
| 7 | has Protocol => (is => 'ro', isa => 'Str', required => 1); | ||
| 8 | has SSLCertificateId => (is => 'ro', isa => 'Str'); | ||
| 9 | |||
| 10 | 1; | ||
| 11 | |||
| 12 | ### main pod documentation begin ### | ||
| 13 | |||
| 14 | =head1 NAME | ||
| 15 | |||
| 16 | Paws::ELB::Listener | ||
| 17 | |||
| 18 | =head1 USAGE | ||
| 19 | |||
| 20 | This class represents one of two things: | ||
| 21 | |||
| 22 | =head3 Arguments in a call to a service | ||
| 23 | |||
| 24 | Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. | ||
| 25 | Each attribute should be used as a named argument in the calls that expect this type of object. | ||
| 26 | |||
| 27 | As an example, if Att1 is expected to be a Paws::ELB::Listener object: | ||
| 28 | |||
| 29 | $service_obj->Method(Att1 => { InstancePort => $value, ..., SSLCertificateId => $value }); | ||
| 30 | |||
| 31 | =head3 Results returned from an API call | ||
| 32 | |||
| 33 | Use accessors for each attribute. If Att1 is expected to be an Paws::ELB::Listener object: | ||
| 34 | |||
| 35 | $result = $service_obj->Method(...); | ||
| 36 | $result->Att1->InstancePort | ||
| 37 | |||
| 38 | =head1 DESCRIPTION | ||
| 39 | |||
| 40 | Information about a listener. | ||
| 41 | |||
| 42 | For information about the protocols and the ports supported by Elastic | ||
| 43 | Load Balancing, see Listeners for Your Classic Load Balancer | ||
| 44 | (https://docs.aws.amazon.com/elasticloadbalancing/latest/classic/elb-listener-config.html) | ||
| 45 | in the I<Classic Load Balancers Guide>. | ||
| 46 | |||
| 47 | =head1 ATTRIBUTES | ||
| 48 | |||
| 49 | |||
| 50 | =head2 B<REQUIRED> InstancePort => Int | ||
| 51 | |||
| 52 | The port on which the instance is listening. | ||
| 53 | |||
| 54 | |||
| 55 | =head2 InstanceProtocol => Str | ||
| 56 | |||
| 57 | The protocol to use for routing traffic to instances: HTTP, HTTPS, TCP, | ||
| 58 | or SSL. | ||
| 59 | |||
| 60 | If the front-end protocol is TCP or SSL, the back-end protocol must be | ||
| 61 | TCP or SSL. If the front-end protocol is HTTP or HTTPS, the back-end | ||
| 62 | protocol must be HTTP or HTTPS. | ||
| 63 | |||
| 64 | If there is another listener with the same C<InstancePort> whose | ||
| 65 | C<InstanceProtocol> is secure, (HTTPS or SSL), the listener's | ||
| 66 | C<InstanceProtocol> must also be secure. | ||
| 67 | |||
| 68 | If there is another listener with the same C<InstancePort> whose | ||
| 69 | C<InstanceProtocol> is HTTP or TCP, the listener's C<InstanceProtocol> | ||
| 70 | must be HTTP or TCP. | ||
| 71 | |||
| 72 | |||
| 73 | =head2 B<REQUIRED> LoadBalancerPort => Int | ||
| 74 | |||
| 75 | The port on which the load balancer is listening. On EC2-VPC, you can | ||
| 76 | specify any port from the range 1-65535. On EC2-Classic, you can | ||
| 77 | specify any port from the following list: 25, 80, 443, 465, 587, | ||
| 78 | 1024-65535. | ||
| 79 | |||
| 80 | |||
| 81 | =head2 B<REQUIRED> Protocol => Str | ||
| 82 | |||
| 83 | The load balancer transport protocol to use for routing: HTTP, HTTPS, | ||
| 84 | TCP, or SSL. | ||
| 85 | |||
| 86 | |||
| 87 | =head2 SSLCertificateId => Str | ||
| 88 | |||
| 89 | The Amazon Resource Name (ARN) of the server certificate. | ||
| 90 | |||
| 91 | |||
| 92 | |||
| 93 | =head1 SEE ALSO | ||
| 94 | |||
| 95 | This class forms part of L<Paws>, describing an object used in L<Paws::ELB> | ||
| 96 | |||
| 97 | =head1 BUGS and CONTRIBUTIONS | ||
| 98 | |||
| 99 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 100 | |||
| 101 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 102 | |||
| 103 | =cut | ||
| 104 |