IAM/Policy.pm

filter: Statementstmt 100% 18 / 18 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 2 / 2 Podpod n/a totaltotal 100% 20 / 20 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« IAM/Policies.pm ↑ Summary IAM/PolicyVersion.pm »
1 package Net::Amazon::IAM::Policy;
2 1 ▶use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
3  
4 =head1 NAME
5  
6 Net::Amazon::IAM::Policy
7  
8 =head1 DESCRIPTION
9  
10 A class representing a IAM Policy
11  
12 =head1 ATTRIBUTES
13  
14 =over
15  
16 =item Arn (optional)
17  
18 The Amazon Resource Name (ARN) that identifies the user.
19 See http://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html
20  
21 =item AttachmentCount (optional)
22  
23 The number of entities (users, groups, and roles) that the policy is attached to.
24  
25 =item CreateDate (optional)
26  
27 The date and time, in ISO 8601 date-time format, when the policy was created.
28  
29 =item DefaultVersionId (optional)
30  
31 The identifier for the version of the policy that is set as the default version.
32  
33 =item Description (optional)
34  
35 A friendly description of the policy.
36  
37 =item IsAttachable (optional)
38  
39 Specifies whether the policy can be attached to an IAM user, group, or role.
40  
41 =item Path (optional)
42  
43 The path to the policy.
44  
45 =item PolicyId (optional)
46  
47 The stable and unique string identifying the policy.
48  
49 =item PolicyName (optional)
50  
51 The friendly name (not ARN) identifying the policy.
52  
53 =item UpdateDate (optional)
54  
55 The date and time, in ISO 8601 date-time format, when the policy was last updated.
56  
57 =back
58  
59 =cut
60  
61 1 has 'Arn' => (
62 is => 'ro',
63 isa => 'Str',
64 required => 0,
65 );
66  
67 1 has 'AttachmentCount' => (
68 is => 'ro',
69 isa => 'Int',
70 required => 0,
71 );
72  
73 1 has 'CreateDate' => (
74 is => 'ro',
75 isa => 'Str',
76 required => 0,
77 );
78  
79 1 has 'DefaultVersionId' => (
80 is => 'ro',
81 isa => 'Str',
82 required => 0,
83 );
84  
85 1 has 'Description' => (
86 is => 'ro',
87 isa => 'Str',
88 required => 0,
89 );
90  
91 1 has 'IsAttachable' => (
92 is => 'ro',
93 isa => 'Str',
94 required => 0,
95 );
96  
97 1 has 'Path' => (
98 is => 'ro',
99 isa => 'Str',
100 required => 0,
101 );
102  
103 1 has 'PolicyId' => (
104 is => 'ro',
105 isa => 'Str',
106 required => 0,
107 );
108  
109 1 has 'PolicyName' => (
110 is => 'ro',
111 isa => 'Str',
112 required => 0,
113 );
114  
115 1 has 'UpdateDate' => (
116 is => 'ro',
117 isa => 'Maybe[Str]',
118 required => 0,
119 );
120  
121 1 __PACKAGE__->meta->make_immutable();
122  
123 =head1 AUTHOR
124  
125 Igor Tsigankov <tsiganenok@gmail.com>
126  
127 =head1 COPYRIGHT
128  
129 Copyright (c) 2015 Igor Tsigankov . This program is free software; you can redistribute it and/or modify it
130 under the same terms as Perl itself.
131  
132 =cut
133  
134 1 ▶no Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
135 1 1;
« IAM/Policies.pm ↑ Summary IAM/PolicyVersion.pm »