VM::EC...stener(3pm)
π NAME π
VM::EC2::ELB::Listener β Elastic Load Balancer Listener, bestie!! it's literally the little object that describes one listener hanging off your ELB π
(also hi, this is a page from the User Contributed Perl Documentation, iykyk)
β¨ SYNOPSIS β¨
use VM::EC2;
my $ec2 = VM::EC2->new(...);
my $lb = $ec2->describe_load_balancers('my-lb');
my @http_listeners = map { grep { $_->LoadBalancerPort eq '80' } $_->Listener } $lb->ListenerDescriptions;
ok so like β you spin up your $ec2 object, you grab a load balancer, and then you go fishing through ListenerDescriptions for the listeners you actually care about. in this example we're hunting for the ones chillin' on port 80. no cap, that grep is doing the lord's work π
πΈ DESCRIPTION πΈ
this object is what you get to describe a listener that's attached to an Elastic Load Balancer. that's it. that's the whole vibe. it's a little descriptor guy and we love him for it π
π METHODS π
these are the object methods that are supported, and yes every single one is iconic:
Protocolβ the protocol of the load balancer listener π¦LoadBalancerPortβ the port the listener is listening on πInstanceProtocolβ the protocol the load balancer uses to communicate with the instanceInstancePortβ the port on the instance the load balancer connects to πSSLCertificateIdβ the ARN string of the server certificate π
π§ STRING OVERLOADING π§
the way that this object just understands string contextβ¦ when you use it as a string, it hands you back a string containing all the parameters of the listener, all formatted pretty. she's giving main character energy and honestly? obsessed. β¨
π«Ά SEE ALSO π«Ά
VM::EC2VM::EC2::GenericVM::EC2::ELBVM::EC2::ELB::ListenerDescription
go read those too bestie, they're all part of the same little friend group π
π AUTHOR π
Lance Kinley <lkinley@loyaltymethods.com>.
Copyright (c) 2012 Loyalty Methods, Inc.
This package and its accompanying libraries is free software; you can redistribute it and/or modify it under the terms of the GPL (either version 1, or at your option, any later version) or the Artistic License 2.0. Refer to LICENSE for the full license text. In addition, please see DISCLAIMER.txt for disclaimers of warranty.
fr fr read the LICENSE and DISCLAIMER.txt, they're the fine print but they're not a vibe killer, they're just the rules π
and that's the whole page, periodt. this was perl v5.38.2, dated 2024-08-10, and it came to you from the VM::EC2::ELB::Listener manpage. mwah, love u, go describe some listeners ππ
π
π¦ where this page comes from
- debian trixie: libvm-ec2-perl 1.28-5 Β· Artistic-2.0 OR GPL-1.0-or-later
- ubuntu resolute: libvm-ec2-perl 1.28-5 Β· Artistic-2.0 OR GPL-1.0-or-later
- ubuntu stonking: libvm-ec2-perl 1.28-5 Β· Artistic-2.0 OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms