File Coverage

blib/lib/Paws/OpsWorks/Permission.pm
Criterion Covered Total %
statement 3 3 100.0
branch n/a
condition n/a
subroutine 1 1 100.0
pod n/a
total 4 4 100.0


line stmt bran cond sub pod time code
1             package Paws::OpsWorks::Permission;
2 1     1   867 use Moose;
  1         6  
  1         15  
3             has AllowSsh => (is => 'ro', isa => 'Bool');
4             has AllowSudo => (is => 'ro', isa => 'Bool');
5             has IamUserArn => (is => 'ro', isa => 'Str');
6             has Level => (is => 'ro', isa => 'Str');
7             has StackId => (is => 'ro', isa => 'Str');
8             1;
9              
10             ### main pod documentation begin ###
11              
12             =head1 NAME
13              
14             Paws::OpsWorks::Permission
15              
16             =head1 USAGE
17              
18             This class represents one of two things:
19              
20             =head3 Arguments in a call to a service
21              
22             Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
23             Each attribute should be used as a named argument in the calls that expect this type of object.
24              
25             As an example, if Att1 is expected to be a Paws::OpsWorks::Permission object:
26              
27             $service_obj->Method(Att1 => { AllowSsh => $value, ..., StackId => $value });
28              
29             =head3 Results returned from an API call
30              
31             Use accessors for each attribute. If Att1 is expected to be an Paws::OpsWorks::Permission object:
32              
33             $result = $service_obj->Method(...);
34             $result->Att1->AllowSsh
35              
36             =head1 DESCRIPTION
37              
38             Describes stack or user permissions.
39              
40             =head1 ATTRIBUTES
41              
42              
43             =head2 AllowSsh => Bool
44              
45             Whether the user can use SSH.
46              
47              
48             =head2 AllowSudo => Bool
49              
50             Whether the user can use B<sudo>.
51              
52              
53             =head2 IamUserArn => Str
54              
55             The Amazon Resource Name (ARN) for an AWS Identity and Access
56             Management (IAM) role. For more information about IAM ARNs, see Using
57             Identifiers.
58              
59              
60             =head2 Level => Str
61              
62             The user's permission level, which must be the following:
63              
64             =over
65              
66             =item *
67              
68             C<deny>
69              
70             =item *
71              
72             C<show>
73              
74             =item *
75              
76             C<deploy>
77              
78             =item *
79              
80             C<manage>
81              
82             =item *
83              
84             C<iam_only>
85              
86             =back
87              
88             For more information on the permissions associated with these levels,
89             see Managing User Permissions
90              
91              
92             =head2 StackId => Str
93              
94             A stack ID.
95              
96              
97              
98             =head1 SEE ALSO
99              
100             This class forms part of L<Paws>, describing an object used in L<Paws::OpsWorks>
101              
102             =head1 BUGS and CONTRIBUTIONS
103              
104             The source code is located here: https://github.com/pplu/aws-sdk-perl
105              
106             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
107              
108             =cut
109