1VM::EC2::Instance::IamPUrsoefrilCeo(n3t)ributed Perl DocVuMm:e:nEtCa2t:i:oInnstance::IamProfile(3)
2
3
4

NAME

6       VM::EC2::Instance::IamProfile - Object describing an Amazon EC2
7       Identity Access Management profile
8

SYNOPSIS

10         use VM::EC2;
11
12         $ec2     = VM::EC2->new(...);
13         my $instance = $ec2->describe_instances('i-123456');
14         my $profile  = $instance->iamInstanceProfile;
15         print $profile->arn,"\n";
16         print $profile->id,"\n";
17

DESCRIPTION

19       This object represents an Amazon IAM profile associated with an
20       instance.
21

METHODS

23       These object methods are supported:
24
25        arn    The Amazon resource name (ARN) of the IAM Instance Profile (IIP)
26               associated with the instance.
27        id     The ID of the IIP associated with the instance.
28

STRING OVERLOADING

30       When used in a string context, this object will interpolate the arn.
31

SEE ALSO

33       VM::EC2 VM::EC2::Generic
34

AUTHOR

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