VM::EC...stener(3pm)

πŸ“¦
version 1.28 Β· 7 versions
, in debian trixie, ubuntu resolute, ubuntu stonking

πŸ’– 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 instance
  • InstancePort β€” 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::EC2
  • VM::EC2::Generic
  • VM::EC2::ELB
  • VM::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