VM::EC...uteType(3pm)
π VM::EC2::ELB::PolicyAttributeType β the manual page, but make it cute β¨
okay bestie, so this is a page from the User Contributed Perl Documentation collection, and it's about VM::EC2::ELB::PolicyAttributeType β yes that's a whole mouthful, we're gonna call it the vibe-check object for load balancer policy attributes. π
β¨ NAME β¨
VM::EC2::ELB::PolicyAttributeType β Load Balancer Policy Attribute Type. that's it, that's the name, it's giving very descriptive. π
πΈ SYNOPSIS πΈ
here's how you actually use it, no cap:
use VM::EC2;
my $ec2 = VM::EC2->new(...);
my @policy_types = $ec2->describe_load_balancer_policy_types;
foreach my $type (@policy_types) {
print $type,': ',$type->Description,"\n";
foreach ($type->attribute_types) {
print $_->AttributeName,"\n ",
$_->AttributeType,"\n ",
$_->Cardinality,"\n ",
$_->DefaultValue,"\n ",
$_->Description,"\n ";
}
}
so you spin up your $ec2, grab all the policy types with describe_load_balancer_policy_types, and then for each type you print its Description, and then loop through its attribute_types and dump out every single field. iconic. π¦
π«Ά DESCRIPTION π«Ά
This object is used to describe the ELB PolicyAttributeTypeDescription data type. that's literally its whole job and it does it beautifully. π
π METHODS π
The following object methods are supported β each one is a little gift:
AttributeNameβ The attribute nameAttributeTypeβ The attribute typeCardinalityβ Cardinality of the policy attributeDefaultValueβ Default value for the attributeDescriptionβ Description of the attribute
like, five methods, five slays. β¨
π STRING OVERLOADING π
In string context, the object will return the Attribute Name. so if you just print $type it's gonna hand you the attribute name like the main character it is. π
π« SEE ALSO π«
go read these next, bestie:
VM::EC2VM::EC2::GenericVM::EC2::ELB::PolicyType
π 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 not just decoration π
and that's the whole page, babes π this was perl v5.38.2, dated 2024-08-10, from the VM::EC2::ELB::PolicyAttributeType(3pm) page β periodt. π§πΈ
π¦ 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