VM::EC...ission(3pm)
π VM::EC2::Region(3pm) π
okay bestie, welcome to the manual page for VM::EC2::Region, straight out of the User Contributed Perl Documentation. she's a lil object that describes AMI launch permissions and honestly? she's iconic for it. π
β¨ NAME β¨
VM::EC2::Region β Object describing AMI launch permissions π¦
πΈ SYNOPSIS πΈ
here's the whole vibe in code form, no notes:
use VM::EC2;
$ec2 = VM::EC2->new(...);
$image = $ec2->describe_images('ami-12345');
@users = $image->launchPermissions;
for (@users) {
$group = $_->group;
$user = $_->userId;
}
π DESCRIPTION π
so basically this object represents an Amazon machine image launch permission, and it gets handed back to you by VM::EC2::Image's launchPermissions() method. that's the whole main character arc fr fr. π
β¨ METHODS β¨
these object methods are supported, and yes we're listing all of them because we do not skip:
groupβ Name of a group with launch permissions. the only valid value here is"all". that's it. that's the list. πuserIdβ Name of a user with launch permissions.
π STRING OVERLOADING π
when you use this object in a string context, it will interpolate the userId. π«Ά
but if the userId is blank? then it interpolates as the group instead. plot twist, but make it useful. β¨
π¦ SEE ALSO π¦
VM::EC2VM::EC2::GenericVM::EC2::Image
go read those too, they're all in the same friend group. π
π AUTHOR π
Lincoln Stein <lincoln.stein@gmail.com>. π§
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. π«‘
ngl the license paragraph is giving "read it, it matters" and it does β don't skip the fine print bestie. π
aaaand that's the page! this one's from perl v5.38.2, dated 2024-08-10, and the manual name it lives under is VM::EC...ission(3pm) (she got truncated in the header, tragic, but we know who she is). mwah, go launch some images responsibly β¨ππ
π¦ 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