VM::EC2::Region(3pm)
π VM::EC2::Region π
okay bestie, gather round, because this is VM::EC2::Region from the VM::EC2 Perl gang (that's the 3pm manual-page girlies, you know the vibe) π
β¨ NAME β¨
VM::EC2::Region β the object that's literally just describing an Amazon region. that's her whole job. she's an icon, she's an object, she's describing a region. periodt.
πΈ SYNOPSIS πΈ
here's the whole serve, verbatim, don't touch a single character:
use VM::EC2;
$ec2 = VM::EC2->new(...);
@regions = $ec2->describe_regions();
$region = $regions[0];
$name = $region->regionName;
$url = $region->regionEndpoint;
@zones = $region->zones;
likeβ¦ she's giving effortless. build the $ec2, ask for your @regions, grab $regions[0], and suddenly you've got a $name, a $url, and a whole @zones situation. slay π
π¦ DESCRIPTION π¦
so this object represents an Amazon EC2 region, and it's the thing that gets handed back to you by VM::EC2->describe_regions(). that's it. that's the girl. she's a region. she knows things about herself. no cap β¨
π METHODS π
these object methods are supported, and yes we're listing every single one, because we don't skip:
regionNameβ the name of the region, like"eu-west-1". her government name fr fr.regionEndpointβ the URL endpoint for AWS API calls, like"ec2.eu-west-1.amazonaws.com". this is the address where the API stuff happens πzonesβ the list of availability zones inside this region, handed to you asVM::EC2::AvailabilityZoneobjects. a whole little squad of zone girlies π«Ά
β οΈ okay IMPORTANT bestie, listen: before you use that endpoint to change theVM::EC2endpoint with theendpoint()call, you have to prefix it withhttp://orhttps://. if you don't, thenhttps://will be assumed. don't come crying to me when your endpoint is doing mystery things, i warned you π
π STRING OVERLOADING π
when you use this object in a string context, it will interpolate the regionName. so she justβ¦ says her name. main character behavior honestly β
π SEE ALSO π
VM::EC2VM::EC2::Generic
go read them, they're part of the friend group π
π AUTHOR π
Lincoln Stein <lincoln.stein@gmail.com>. shoutout to the legend π«Ά
Copyright (c) 2011 Ontario Institute for Cancer Research
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.
π yes, that's the whole license paragraph, we do not paraphrase legal text in this house.LICENSEhas the full text andDISCLAIMER.txthas the warranty disclaimers. read them, bestie.
and that's the page!! brought to you by perl v5.38.2, dated 2024-08-10, and this little manual page VM::EC2::Region(3pm) β mwah, go describe some regions, 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