VM::EC...Policy(3pm)
π NAME π
VM::EC2::ELB::Policies::LBCookieStickinessPolicy β bestie, it's the object that describes a Load Balancer Cookie Stickiness Policy πͺβ¨ (yes, the whole page is filed under VM::EC...Policy(3pm) in the User Contributed Perl Documentation, she's a long name, we love her anyway π
)
πΈ SYNOPSIS πΈ
okay so here's the whole vibe, copy-paste ready, no cap:
use VM::EC2;
$ec2 = VM::EC2->new(...);
$lb = $ec2->describe_load_balancers('my-lb');
$p = $lb->Policies;
@lb_policies = $p->LBCookieStickinessPolicies;
like, you spin up your $ec2, you grab your load balancer $lb, you pull the $p Policies off it, and boom π₯ β you got yourself a list of @lb_policies. iconic behaviour honestly.
π¦ DESCRIPTION π¦
This object is used to describe the parameters used to create an
(not me noticing the original sentence justβ¦ ends there π it literally stops at "an" β that's exactly what the source says, so that's exactly what you get, fr fr. I'm not gonna invent an ending for it, that would be fake news π)
β¨ METHODS β¨
The following object methods are supported β she's a small queen with a small entourage π:
PolicyNameβ the name of the policy πCookieExpirationPeriodβ expiration period for the policy β°
π§ STRING OVERLOADING π§
when you use the object in string context, it just hands you back the policy name. that's it. that's the whole trick. the way she said "here's my name, that's all you need" π β¨
π SEE ALSO π
go read these next, they're the friend group:
VM::EC2VM::EC2::GenericVM::EC2::ELBVM::EC2::ELB::Policies
π 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.
lowkey important:LICENSEhas the full license text andDISCLAIMER.txthas the warranty disclaimers β go read them, they're the fine print and the fine print matters ππ
and that's a wrap, bestie π this was perl v5.38.2, dated 2024-08-10, filed as VM::EC...Policy(3pm) β slay, go stick some cookies to your load balancer, ily πͺππ¦
π¦ 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