VM::EC...thCheck(3pm)
π VM::EC2::ELB::HealthCheck β the manual, but make it cute π
okay bestie, sit down, hydrate, because we're reading a Perl manpage and honestly? it's giving load balancer lore. this one is VM::EC2::ELB:HealthCheck(3pm) from the User Contributed Perl Documentation and it's literally just the vibe check settings for your AWS load balancer's health checks. yes. the thing that decides if your instances are slaying or flopping. πΈ
β¨ NAME β¨
VM::EC2::ELB::HealthCheck β Load Balancer Health Check Parameters
like... the whole personality of your health check, in one lil object π«Ά
π SYNOPSIS π
use VM::EC2;
$lb = $ec2->describe_load_balancers('my-lb');
my $hc = $lb->HealthCheck;
my $interval = $hc->Interval;
my $target = $hc->Target;
my $healthy_threshold = $hc->HealthyThreshold;
my $unhealthy_threshold = $hc->UnhealthyThreshold;
my $timeout = $hc->Timeout;
see how clean that is?? grab the load balancer, pull its HealthCheck, and then just... read its mind through a bunch of accessors. no cap, that's the whole flow. π
π« DESCRIPTION π«
so this object describes the parameters used to perform healthchecks on a load balancer. that's it, that's the job. it's the little config gremlin behind the scenes deciding who's healthy and who's not. π§
and here's the tea: generally you will not call this directly. nope! because all its methods are passed through by the VM::EC2::ELB object that you get back from the HealthCheck() call. so like, it's the main character's best friend β always there, does the work, doesn't need the spotlight. periodt.
π₯ METHODS π₯
the following object methods are supported, and every single one of them is a baddie:
Intervalβ the time interval between health checks. how often we're checking in on you, bestie β°Targetβ the target protocol protocol and port of the check. (yes it says protocol twice in the original, we don't question the ancestors π)HealthyThresholdβ the number of successive positive health checks that need to be completed to be marked as healthy. hit this streak and you're officially that girl πUnhealthyThresholdβ the number of successive negative health checks that need to be completed to be marked as unhealthy. miss this many in a row and uh... it's over πTimeoutβ the time interval of what is considered a timeout. how long we wait before we're like "okay girl, that's a no" β³
π STRING OVERLOADING π
when used in a string context, this object will interpolate object parameters as a series of Key:Value strings.
so you can just drop it in a string and it'll spill all its Key:Value secrets. iconic behaviour honestly β¨
π¦ SEE ALSO π¦
go read these too, they're all connected, it's a whole cinematic universe:
VM::EC2VM::EC2::GenericVM::EC2::SnapshotVM::EC2::ELB
πΈ AUTHOR πΈ
Lance Kinley <lkinley@loyaltymethods.com>.
Copyright (c) 2012 Loyalty Methods, Inc.
legal moment, bestie, pay attention: 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 toLICENSEfor the full license text. In addition, please seeDISCLAIMER.txtfor disclaimers of warranty. π«Ά
and that's the whole page!! this beauty shipped with perl v5.38.2 and is dated 2024-08-10. thank you for coming to my ted talk, go check your thresholds, mwah π
π¦ 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