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