1VM::EC2::Image::LaunchPUesremrisCsoinotnr(i3b)uted PerlVDMo:c:uEmCe2n:t:aItmiaogne::LaunchPermission(3)
2
3
4

NAME

6       VM::EC2::Region - Object describing AMI launch permissions
7

SYNOPSIS

9         use VM::EC2;
10
11         $ec2       = VM::EC2->new(...);
12         $image     = $ec2->describe_images('ami-12345');
13         @users     = $image->launchPermissions;
14         for (@users) {
15           $group = $_->group;
16           $user  = $_->userId;
17         }
18

DESCRIPTION

20       This object represents an Amazon machine image launch permission, and
21       is return by VM::EC2::Image launchPermissions().
22

METHODS

24       These object methods are supported:
25
26        group      -- Name of a group with launch permissions. Only
27                      valid value is "all"
28        userId     -- Name of a user with launch permissions.
29

STRING OVERLOADING

31       When used in a string context, this object will interpolate the userId.
32       If the userId is blank, then interpolates as the group.
33

SEE ALSO

35       VM::EC2 VM::EC2::Generic VM::EC2::Image
36

AUTHOR

38       Lincoln Stein <lincoln.stein@gmail.com>.
39
40       Copyright (c) 2011 Ontario Institute for Cancer Research
41
42       This package and its accompanying libraries is free software; you can
43       redistribute it and/or modify it under the terms of the GPL (either
44       version 1, or at your option, any later version) or the Artistic
45       License 2.0.  Refer to LICENSE for the full license text. In addition,
46       please see DISCLAIMER.txt for disclaimers of warranty.
47
48
49
50perl v5.36.0                      2022-07-22VM::EC2::Image::LaunchPermission(3)
Impressum