File Coverage

blib/lib/Paws/Batch/ContainerDetail.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::Batch::ContainerDetail;
2 1     1   817 use Moose;
  1         4  
  1         11  
3             has Command => (is => 'ro', isa => 'ArrayRef[Str|Undef]', request_name => 'command', traits => ['NameInRequest']);
4             has ContainerInstanceArn => (is => 'ro', isa => 'Str', request_name => 'containerInstanceArn', traits => ['NameInRequest']);
5             has Environment => (is => 'ro', isa => 'ArrayRef[Paws::Batch::KeyValuePair]', request_name => 'environment', traits => ['NameInRequest']);
6             has ExitCode => (is => 'ro', isa => 'Int', request_name => 'exitCode', traits => ['NameInRequest']);
7             has Image => (is => 'ro', isa => 'Str', request_name => 'image', traits => ['NameInRequest']);
8             has JobRoleArn => (is => 'ro', isa => 'Str', request_name => 'jobRoleArn', traits => ['NameInRequest']);
9             has Memory => (is => 'ro', isa => 'Int', request_name => 'memory', traits => ['NameInRequest']);
10             has MountPoints => (is => 'ro', isa => 'ArrayRef[Paws::Batch::MountPoint]', request_name => 'mountPoints', traits => ['NameInRequest']);
11             has Privileged => (is => 'ro', isa => 'Bool', request_name => 'privileged', traits => ['NameInRequest']);
12             has ReadonlyRootFilesystem => (is => 'ro', isa => 'Bool', request_name => 'readonlyRootFilesystem', traits => ['NameInRequest']);
13             has Reason => (is => 'ro', isa => 'Str', request_name => 'reason', traits => ['NameInRequest']);
14             has TaskArn => (is => 'ro', isa => 'Str', request_name => 'taskArn', traits => ['NameInRequest']);
15             has Ulimits => (is => 'ro', isa => 'ArrayRef[Paws::Batch::Ulimit]', request_name => 'ulimits', traits => ['NameInRequest']);
16             has User => (is => 'ro', isa => 'Str', request_name => 'user', traits => ['NameInRequest']);
17             has Vcpus => (is => 'ro', isa => 'Int', request_name => 'vcpus', traits => ['NameInRequest']);
18             has Volumes => (is => 'ro', isa => 'ArrayRef[Paws::Batch::Volume]', request_name => 'volumes', traits => ['NameInRequest']);
19             1;
20              
21             ### main pod documentation begin ###
22              
23             =head1 NAME
24              
25             Paws::Batch::ContainerDetail
26              
27             =head1 USAGE
28              
29             This class represents one of two things:
30              
31             =head3 Arguments in a call to a service
32              
33             Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
34             Each attribute should be used as a named argument in the calls that expect this type of object.
35              
36             As an example, if Att1 is expected to be a Paws::Batch::ContainerDetail object:
37              
38             $service_obj->Method(Att1 => { Command => $value, ..., Volumes => $value });
39              
40             =head3 Results returned from an API call
41              
42             Use accessors for each attribute. If Att1 is expected to be an Paws::Batch::ContainerDetail object:
43              
44             $result = $service_obj->Method(...);
45             $result->Att1->Command
46              
47             =head1 DESCRIPTION
48              
49             An object representing the details of a container that is part of a
50             job.
51              
52             =head1 ATTRIBUTES
53              
54              
55             =head2 Command => ArrayRef[Str|Undef]
56              
57             The command that is passed to the container.
58              
59              
60             =head2 ContainerInstanceArn => Str
61              
62             The Amazon Resource Name (ARN) of the container instance on which the
63             container is running.
64              
65              
66             =head2 Environment => ArrayRef[L<Paws::Batch::KeyValuePair>]
67              
68             The environment variables to pass to a container.
69              
70              
71             =head2 ExitCode => Int
72              
73             The exit code to return upon completion.
74              
75              
76             =head2 Image => Str
77              
78             The image used to start the container.
79              
80              
81             =head2 JobRoleArn => Str
82              
83             The Amazon Resource Name (ARN) associated with the job upon execution.
84              
85              
86             =head2 Memory => Int
87              
88             The number of MiB of memory reserved for the job.
89              
90              
91             =head2 MountPoints => ArrayRef[L<Paws::Batch::MountPoint>]
92              
93             The mount points for data volumes in your container.
94              
95              
96             =head2 Privileged => Bool
97              
98             When this parameter is true, the container is given elevated privileges
99             on the host container instance (similar to the C<root> user).
100              
101              
102             =head2 ReadonlyRootFilesystem => Bool
103              
104             When this parameter is true, the container is given read-only access to
105             its root file system.
106              
107              
108             =head2 Reason => Str
109              
110             A short (255 max characters) human-readable string to provide
111             additional details about a running or stopped container.
112              
113              
114             =head2 TaskArn => Str
115              
116             The Amazon Resource Name (ARN) of the Amazon ECS task that is
117             associated with the container job.
118              
119              
120             =head2 Ulimits => ArrayRef[L<Paws::Batch::Ulimit>]
121              
122             A list of C<ulimit> values to set in the container.
123              
124              
125             =head2 User => Str
126              
127             The user name to use inside the container.
128              
129              
130             =head2 Vcpus => Int
131              
132             The number of VCPUs allocated for the job.
133              
134              
135             =head2 Volumes => ArrayRef[L<Paws::Batch::Volume>]
136              
137             A list of volumes associated with the job.
138              
139              
140              
141             =head1 SEE ALSO
142              
143             This class forms part of L<Paws>, describing an object used in L<Paws::Batch>
144              
145             =head1 BUGS and CONTRIBUTIONS
146              
147             The source code is located here: https://github.com/pplu/aws-sdk-perl
148              
149             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
150              
151             =cut
152