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

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

πŸ’– VM::EC2::ELB::Policies β€” the 3pm tea πŸ“

okay bestie, so this is a User Contributed Perl Documentation page, and it's literally the manual for VM::EC2::ELB::Policies. yes that's a mouthful, we're gonna get through it together πŸ’…


✨ NAME ✨

VM::EC2::ELB:Policies β€” Elastic Load Balancer Policies πŸŽ€

like. the name says it all fr fr. it's the Policies joint for your ELB.


🌸 SYNOPSIS 🌸

okay so here's the vibe check, actual code, do not touch the letters:

use VM::EC2;

my $ec2            = VM::EC2->new(...);
my $lb             = $ec2->describe_load_balancers('my-lb');
my $p              = $lb->Policies;
my @lb_policies    = $p->LBCookieStickinessPolicies;
my @app_policies   = $p->AppCookieStickinessPolicies;
my @other_policies = $p->OtherPolicies;

see how it flows?? new the thing, grab your load balancer by name, pull its Policies, then sort them into their little categories. iconic behavior honestly πŸ‘‘


πŸ¦‹ DESCRIPTION πŸ¦‹

so this object right here is what describes the policies attached to an Elastic Load Balancer, and it keeps them all separated by type. it's giving organized. it's giving labeled bins in a drawer. we love her for that.

but listen β€” if you want to more easily get a full list of policies associated with the ELB, you use the VM::EC2->describe_load_balancers() method. that's the move. that's the shortcut. iykyk 🌈


πŸ’… METHODS πŸ’…

here's the roster, the following object methods are supported:

  • AppCookieStickinessPolicies β€” Application-based cookie stickiness policies πŸͺ
  • LBCookieStickinessPolicies β€” Load Balancer-based cookie stickiness policies πŸͺπŸͺ
  • OtherPolicies β€” Other Policies ✨ (the catch-all bin, the misc drawer, the everything-else pile)

three methods, three moods, all eating πŸ’–


πŸŽ€ STRING OVERLOADING πŸŽ€

NONE.

that's it. that's the whole section. no string overloading, bestie. zero. nada. do not pass go. don't try to stringify her, she will not be doing that πŸ™ˆ


πŸ”₯ SEE ALSO πŸ”₯

go read these too, they're the friend group:

  • VM::EC2
  • VM::EC2::Generic
  • VM::EC2::ELB

πŸ‘‘ AUTHOR πŸ‘‘

Lance Kinley <lkinley@loyaltymethods.com>.

Copyright (c) 2012 Loyalty Methods, Inc.

so here's the legal bit and it matters, so 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 to LICENSE for the full license text. In addition, please see DISCLAIMER.txt for disclaimers of warranty.

fr fr read those files before you go redistributing things, bestie. the paperwork is the paperwork. 🫢

and that's the whole page!! πŸ’œ this was VM::EC2::ELB::Policies, from perl v5.38.2, dated 2024-08-10, and yes it's the same name in the corner up top and down at the bottom, we just folded it in so it looks cute. slay, bye, go write some Perl πŸ§šβ€β™€οΈβœ¨πŸŒΈ

πŸ“¦ where this page comes from