VM::EC...e::Set(3pm)
π VM::EC2::Instance::Set π
okay bestie, welcome to VM::EC2::Instance::Set(3pm) β the little group-chat object that holds a whole set of instances together. she's not the star of the show, but she's the one holding the receipts. π
β¨ NAME β¨
VM::EC2::Instance::Set β an object that describes a set of instances. that's it, that's the whole vibe. π
πΈ SYNOPSIS πΈ
here's how she shows up in the wild:
use VM::EC2;
$ec2 = VM::EC2->new(...);
@instances = $ec2->run_instances(-image_id=>'ami-12345');
for my $i (@instances) {
$res = $i->reservationId;
$req = $i->requesterId;
$owner = $i->ownerId;
@groups = $i->groups;
}
like yes, that's the whole thing. she's lowkey just chillin' in the background. π¦
π DESCRIPTION π
so here's the tea, bestie. π«
this object is used internally to manage the output of VM::EC2->run_instances(), which returns information about the reservation and security groups as well as the list of launched instances.
and because reservations are infrequently used (ngl, she's a rare guest at the party), this object is not used directly. instead, the reservation and requester IDs contained within it get stored in the VM::EC2::Instance objects returned by run_instances().
so likeβ¦ she's giving backstage crew energy. you don't see her, but the show does not go on without her. π
π₯ METHODS π₯
exactly one object method is supported, and honestly? she's efficient. periodt. β¨
@instances = $reservation_set->instances()
this will return the instances contained within the instance set. that's the whole job. she does it. slay. π
π SEE ALSO π
go read these next, fr fr:
VM::EC2VM::EC2::GenericVM::EC2::Instance
π AUTHOR π
Lincoln Stein <lincoln.stein@gmail.com> β icon behavior, we stan. π
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.
okay so legally speaking: free software, two license options, and there's aLICENSEfile plus aDISCLAIMER.txtif you want the whole story. no cap. π«Ά
and that's the page bestie!! this was perl v5.38.2, dated 2024-08-10, and it's the VM::EC2::Instance::Set(3pm) manual β thanks for reading, mwah πβ¨πΈ
π¦ 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