IAM/InstanceProfile.pm

filter: Statementstmt 100% 14 / 14 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 2 / 2 Podpod n/a totaltotal 100% 16 / 16 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« IAM/Groups.pm ↑ Summary IAM/InstanceProfiles.pm »
1 package Net::Amazon::IAM::InstanceProfile;
2 1 ▶use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
3  
4 =head1 NAME
5  
6 Net::Amazon::IAM::InstanceProfile
7  
8 =head1 DESCRIPTION
9  
10 A class representing a IAM Instance Profile.
11  
12 =head1 ATTRIBUTES
13  
14 =over
15  
16 =item Arn (required)
17  
18 The Amazon Resource Name (ARN) specifying the instance profile.
19  
20 =item CreateDate (required)
21  
22 The date when the instance profile was created.
23  
24 =item InstanceProfileId (required)
25  
26 The stable and unique string identifying the instance profile.
27  
28 =item InstanceProfileName (required)
29  
30 The name identifying the instance profile.
31  
32 =item Path (required)
33  
34 The path to the instance profile.
35  
36 =item Roles (required)
37  
38 List of roles associated with the instance profile represented as L<Net::Amazon::IAM::Roles>.
39  
40 =back
41  
42 =cut
43  
44 1 has 'Arn' => (
45 is => 'ro',
46 isa => 'Str',
47 required => 1,
48 );
49  
50 1 has 'CreateDate' => (
51 is => 'ro',
52 isa => 'Str',
53 required => 1,
54 );
55  
56 1 has 'InstanceProfileId' => (
57 is => 'ro',
58 isa => 'Str',
59 required => 1,
60 );
61  
62 1 has 'InstanceProfileName' => (
63 is => 'ro',
64 isa => 'Str',
65 required => 1,
66 );
67  
68 1 has 'Path' => (
69 is => 'ro',
70 isa => 'Str',
71 required => 1,
72 );
73  
74 1 has 'Roles' => (
75 is => 'ro',
76 isa => 'Maybe[Net::Amazon::IAM::Roles]|HashRef',
77 required => 1,
78 );
79  
80 1 __PACKAGE__->meta->make_immutable();
81  
82 =head1 AUTHOR
83  
84 Igor Tsigankov <tsiganenok@gmail.com>
85  
86 =head1 COPYRIGHT
87  
88 Copyright (c) 2015 Igor Tsigankov . This program is free software; you can redistribute it and/or modify it
89 under the same terms as Perl itself.
90  
91 =cut
92  
93 1 ▶no Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
94 1 1;
« IAM/Groups.pm ↑ Summary IAM/InstanceProfiles.pm »