Cfn/Resource/AWS/Batch/JobDefinition.pm

filter: Statementstmt 70.8% 284 / 401 Branchbran 2.7% 2 / 74 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 43.8% 43 / 98 Podpod 0.0% 0 / 2 totaltotal 57.2% 329 / 575 CC 38 SCAR 13.1
CC
38
Cov
60%
__ANON__
6.0
__ANON__
6.0
__ANON__
6.0
CRAP 3.7
« Cfn/Resource/AWS/NetworkFirewall/RuleGroup.pm ↑ Summary Cfn/Resource/AWS/EC2/LaunchTemplate.pm »
1 # AWS::Batch::JobDefinition generated from spec 20.1.0
2 3 ▶use Moose::Util::TypeConstraints;
Subroutine BEGIN: called CC=1 SCAR=0.0
3  
4 coerce 'Cfn::Resource::Properties::AWS::Batch::JobDefinition',
5 from 'HashRef',
6 6 ▶ via { Cfn::Resource::Properties::AWS::Batch::JobDefinition->new( %$_ ) };
Subroutine __ANON__: called CC=1 SCAR=0.0
7  
8 3 package Cfn::Resource::AWS::Batch::JobDefinition {
9 3 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
10 3 extends 'Cfn::Resource';
11 3 has Properties => (isa => 'Cfn::Resource::Properties::AWS::Batch::JobDefinition', is => 'rw', coerce => 1);
12
13 sub AttributeList {
14 1 ▶ [ ]
Subroutine AttributeList: called CC=1 SCAR=0.0
Pod undocumented
15 }
16 sub supported_regions {
17 1 ▶ [ 'ap-northeast-1','ap-northeast-2','ap-south-1','ap-southeast-1','ap-southeast-2','ca-central-1','eu-central-1','eu-west-1','eu-west-2','eu-west-3','sa-east-1','us-east-1','us-east-2','us-west-1','us-west-2' ]
Subroutine supported_regions: called CC=1 SCAR=0.0
Pod undocumented
18 }
19 }
20  
21  
22  
23 3 subtype 'Cfn::Resource::Properties::AWS::Batch::JobDefinition::VolumesHost',
24 as 'Cfn::Value';
25  
26 coerce 'Cfn::Resource::Properties::AWS::Batch::JobDefinition::VolumesHost',
27 from 'HashRef',
28 via {
29 0 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
Subroutine __ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
BranchTrueFalseTotal
if (my $f = Cfn::TypeLibrary::try_function($_)) { } 0 0 0
30 0 return $f
31 } else {
32 0 return Cfn::Resource::Properties::Object::AWS::Batch::JobDefinition::VolumesHost->new( %$_ );
33 }
34 3 };
35  
36 3 package Cfn::Resource::Properties::Object::AWS::Batch::JobDefinition::VolumesHost {
37 3 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
38 3 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
39 3 extends 'Cfn::Value::TypedValue';
40
41 3 has SourcePath => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
42 }
43 subtype 'ArrayOfCfn::Resource::Properties::AWS::Batch::JobDefinition::Tmpfs',
44 as 'Cfn::Value',
45 0 ▶ where { $_->isa('Cfn::Value::Array') or $_->isa('Cfn::Value::Function') },
Subroutine __ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
BranchTrueFalseTotal
$_->isa("Cfn::Value::Array") or $_->isa("Cfn::Value::Function") 0 0 0
46 0 ▶message { "$_ is not a Cfn::Value or a Cfn::Value::Function" };
Subroutine __ANON__: not called CC=1 SCAR=1.2
47  
48 coerce 'ArrayOfCfn::Resource::Properties::AWS::Batch::JobDefinition::Tmpfs',
49 from 'HashRef',
50 via {
51 0 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
Subroutine __ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
BranchTrueFalseTotal
if (my $f = Cfn::TypeLibrary::try_function($_)) { } 0 0 0
52 0 return $f
53 } else {
54 0 die 'Only accepts functions';
55 }
56 },
57 from 'ArrayRef',
58 via {
59 Cfn::Value::Array->new(Value => [
60 map {
61 0 ▶ Moose::Util::TypeConstraints::find_type_constraint('Cfn::Resource::Properties::AWS::Batch::JobDefinition::Tmpfs')->coerce($_)
Subroutine __ANON__: not called CC=1 SCAR=6.9
62 } @$_
63 ]);
64 3 };
65  
66 3 subtype 'Cfn::Resource::Properties::AWS::Batch::JobDefinition::Tmpfs',
67 as 'Cfn::Value';
68  
69 coerce 'Cfn::Resource::Properties::AWS::Batch::JobDefinition::Tmpfs',
70 from 'HashRef',
71 via {
72 0 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
Subroutine __ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
BranchTrueFalseTotal
if (my $f = Cfn::TypeLibrary::try_function($_)) { } 0 0 0
73 0 return $f
74 } else {
75 0 return Cfn::Resource::Properties::Object::AWS::Batch::JobDefinition::Tmpfs->new( %$_ );
76 }
77 3 };
78  
79 3 package Cfn::Resource::Properties::Object::AWS::Batch::JobDefinition::Tmpfs {
80 3 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
81 3 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
82 3 extends 'Cfn::Value::TypedValue';
83
84 3 has ContainerPath => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
85 3 has MountOptions => (isa => 'Cfn::Value::Array|Cfn::Value::Function|Cfn::DynamicValue', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
86 3 has Size => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
87 }
88 subtype 'ArrayOfCfn::Resource::Properties::AWS::Batch::JobDefinition::Secret',
89 as 'Cfn::Value',
90 0 ▶ where { $_->isa('Cfn::Value::Array') or $_->isa('Cfn::Value::Function') },
Subroutine __ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
BranchTrueFalseTotal
$_->isa("Cfn::Value::Array") or $_->isa("Cfn::Value::Function") 0 0 0
91 0 ▶message { "$_ is not a Cfn::Value or a Cfn::Value::Function" };
Subroutine __ANON__: not called CC=1 SCAR=1.2
92  
93 coerce 'ArrayOfCfn::Resource::Properties::AWS::Batch::JobDefinition::Secret',
94 from 'HashRef',
95 via {
96 0 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
Subroutine __ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
BranchTrueFalseTotal
if (my $f = Cfn::TypeLibrary::try_function($_)) { } 0 0 0
97 0 return $f
98 } else {
99 0 die 'Only accepts functions';
100 }
101 },
102 from 'ArrayRef',
103 via {
104 Cfn::Value::Array->new(Value => [
105 map {
106 0 ▶ Moose::Util::TypeConstraints::find_type_constraint('Cfn::Resource::Properties::AWS::Batch::JobDefinition::Secret')->coerce($_)
Subroutine __ANON__: not called CC=1 SCAR=6.9
107 } @$_
108 ]);
109 3 };
110  
111 3 subtype 'Cfn::Resource::Properties::AWS::Batch::JobDefinition::Secret',
112 as 'Cfn::Value';
113  
114 coerce 'Cfn::Resource::Properties::AWS::Batch::JobDefinition::Secret',
115 from 'HashRef',
116 via {
117 0 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
Subroutine __ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
BranchTrueFalseTotal
if (my $f = Cfn::TypeLibrary::try_function($_)) { } 0 0 0
118 0 return $f
119 } else {
120 0 return Cfn::Resource::Properties::Object::AWS::Batch::JobDefinition::Secret->new( %$_ );
121 }
122 3 };
123  
124 3 package Cfn::Resource::Properties::Object::AWS::Batch::JobDefinition::Secret {
125 3 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
126 3 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
127 3 extends 'Cfn::Value::TypedValue';
128
129 3 has Name => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
130 3 has ValueFrom => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
131 }
132 subtype 'ArrayOfCfn::Resource::Properties::AWS::Batch::JobDefinition::Device',
133 as 'Cfn::Value',
134 0 ▶ where { $_->isa('Cfn::Value::Array') or $_->isa('Cfn::Value::Function') },
Subroutine __ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
BranchTrueFalseTotal
$_->isa("Cfn::Value::Array") or $_->isa("Cfn::Value::Function") 0 0 0
135 0 ▶message { "$_ is not a Cfn::Value or a Cfn::Value::Function" };
Subroutine __ANON__: not called CC=1 SCAR=1.2
136  
137 coerce 'ArrayOfCfn::Resource::Properties::AWS::Batch::JobDefinition::Device',
138 from 'HashRef',
139 via {
140 0 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
Subroutine __ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
BranchTrueFalseTotal
if (my $f = Cfn::TypeLibrary::try_function($_)) { } 0 0 0
141 0 return $f
142 } else {
143 0 die 'Only accepts functions';
144 }
145 },
146 from 'ArrayRef',
147 via {
148 Cfn::Value::Array->new(Value => [
149 map {
150 0 ▶ Moose::Util::TypeConstraints::find_type_constraint('Cfn::Resource::Properties::AWS::Batch::JobDefinition::Device')->coerce($_)
Subroutine __ANON__: not called CC=1 SCAR=6.9
151 } @$_
152 ]);
153 3 };
154  
155 3 subtype 'Cfn::Resource::Properties::AWS::Batch::JobDefinition::Device',
156 as 'Cfn::Value';
157  
158 coerce 'Cfn::Resource::Properties::AWS::Batch::JobDefinition::Device',
159 from 'HashRef',
160 via {
161 0 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
Subroutine __ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
BranchTrueFalseTotal
if (my $f = Cfn::TypeLibrary::try_function($_)) { } 0 0 0
162 0 return $f
163 } else {
164 0 return Cfn::Resource::Properties::Object::AWS::Batch::JobDefinition::Device->new( %$_ );
165 }
166 3 };
167  
168 3 package Cfn::Resource::Properties::Object::AWS::Batch::JobDefinition::Device {
169 3 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
170 3 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
171 3 extends 'Cfn::Value::TypedValue';
172
173 3 has ContainerPath => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
174 3 has HostPath => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
175 3 has Permissions => (isa => 'Cfn::Value::Array|Cfn::Value::Function|Cfn::DynamicValue', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
176 }
177 subtype 'ArrayOfCfn::Resource::Properties::AWS::Batch::JobDefinition::Volumes',
178 as 'Cfn::Value',
179 0 ▶ where { $_->isa('Cfn::Value::Array') or $_->isa('Cfn::Value::Function') },
Subroutine __ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
BranchTrueFalseTotal
$_->isa("Cfn::Value::Array") or $_->isa("Cfn::Value::Function") 0 0 0
180 0 ▶message { "$_ is not a Cfn::Value or a Cfn::Value::Function" };
Subroutine __ANON__: not called CC=1 SCAR=1.2
181  
182 coerce 'ArrayOfCfn::Resource::Properties::AWS::Batch::JobDefinition::Volumes',
183 from 'HashRef',
184 via {
185 0 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
Subroutine __ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
BranchTrueFalseTotal
if (my $f = Cfn::TypeLibrary::try_function($_)) { } 0 0 0
186 0 return $f
187 } else {
188 0 die 'Only accepts functions';
189 }
190 },
191 from 'ArrayRef',
192 via {
193 Cfn::Value::Array->new(Value => [
194 map {
195 0 ▶ Moose::Util::TypeConstraints::find_type_constraint('Cfn::Resource::Properties::AWS::Batch::JobDefinition::Volumes')->coerce($_)
Subroutine __ANON__: not called CC=1 SCAR=6.9
196 } @$_
197 ]);
198 3 };
199  
200 3 subtype 'Cfn::Resource::Properties::AWS::Batch::JobDefinition::Volumes',
201 as 'Cfn::Value';
202  
203 coerce 'Cfn::Resource::Properties::AWS::Batch::JobDefinition::Volumes',
204 from 'HashRef',
205 via {
206 0 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
Subroutine __ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
BranchTrueFalseTotal
if (my $f = Cfn::TypeLibrary::try_function($_)) { } 0 0 0
207 0 return $f
208 } else {
209 0 return Cfn::Resource::Properties::Object::AWS::Batch::JobDefinition::Volumes->new( %$_ );
210 }
211 3 };
212  
213 3 package Cfn::Resource::Properties::Object::AWS::Batch::JobDefinition::Volumes {
214 3 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
215 3 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
216 3 extends 'Cfn::Value::TypedValue';
217
218 3 has Host => (isa => 'Cfn::Resource::Properties::AWS::Batch::JobDefinition::VolumesHost', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
219 3 has Name => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
220 }
221 subtype 'ArrayOfCfn::Resource::Properties::AWS::Batch::JobDefinition::Ulimit',
222 as 'Cfn::Value',
223 0 ▶ where { $_->isa('Cfn::Value::Array') or $_->isa('Cfn::Value::Function') },
Subroutine __ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
BranchTrueFalseTotal
$_->isa("Cfn::Value::Array") or $_->isa("Cfn::Value::Function") 0 0 0
224 0 ▶message { "$_ is not a Cfn::Value or a Cfn::Value::Function" };
Subroutine __ANON__: not called CC=1 SCAR=1.2
225  
226 coerce 'ArrayOfCfn::Resource::Properties::AWS::Batch::JobDefinition::Ulimit',
227 from 'HashRef',
228 via {
229 0 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
Subroutine __ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
BranchTrueFalseTotal
if (my $f = Cfn::TypeLibrary::try_function($_)) { } 0 0 0
230 0 return $f
231 } else {
232 0 die 'Only accepts functions';
233 }
234 },
235 from 'ArrayRef',
236 via {
237 Cfn::Value::Array->new(Value => [
238 map {
239 0 ▶ Moose::Util::TypeConstraints::find_type_constraint('Cfn::Resource::Properties::AWS::Batch::JobDefinition::Ulimit')->coerce($_)
Subroutine __ANON__: not called CC=1 SCAR=6.9
240 } @$_
241 ]);
242 3 };
243  
244 3 subtype 'Cfn::Resource::Properties::AWS::Batch::JobDefinition::Ulimit',
245 as 'Cfn::Value';
246  
247 coerce 'Cfn::Resource::Properties::AWS::Batch::JobDefinition::Ulimit',
248 from 'HashRef',
249 via {
250 0 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
Subroutine __ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
BranchTrueFalseTotal
if (my $f = Cfn::TypeLibrary::try_function($_)) { } 0 0 0
251 0 return $f
252 } else {
253 0 return Cfn::Resource::Properties::Object::AWS::Batch::JobDefinition::Ulimit->new( %$_ );
254 }
255 3 };
256  
257 3 package Cfn::Resource::Properties::Object::AWS::Batch::JobDefinition::Ulimit {
258 3 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
259 3 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
260 3 extends 'Cfn::Value::TypedValue';
261
262 3 has HardLimit => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
263 3 has Name => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
264 3 has SoftLimit => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
265 }
266 subtype 'ArrayOfCfn::Resource::Properties::AWS::Batch::JobDefinition::ResourceRequirement',
267 as 'Cfn::Value',
268 0 ▶ where { $_->isa('Cfn::Value::Array') or $_->isa('Cfn::Value::Function') },
Subroutine __ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
BranchTrueFalseTotal
$_->isa("Cfn::Value::Array") or $_->isa("Cfn::Value::Function") 0 0 0
269 0 ▶message { "$_ is not a Cfn::Value or a Cfn::Value::Function" };
Subroutine __ANON__: not called CC=1 SCAR=1.2
270  
271 coerce 'ArrayOfCfn::Resource::Properties::AWS::Batch::JobDefinition::ResourceRequirement',
272 from 'HashRef',
273 via {
274 0 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
Subroutine __ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
BranchTrueFalseTotal
if (my $f = Cfn::TypeLibrary::try_function($_)) { } 0 0 0
275 0 return $f
276 } else {
277 0 die 'Only accepts functions';
278 }
279 },
280 from 'ArrayRef',
281 via {
282 Cfn::Value::Array->new(Value => [
283 map {
284 0 ▶ Moose::Util::TypeConstraints::find_type_constraint('Cfn::Resource::Properties::AWS::Batch::JobDefinition::ResourceRequirement')->coerce($_)
Subroutine __ANON__: not called CC=1 SCAR=6.9
285 } @$_
286 ]);
287 3 };
288  
289 3 subtype 'Cfn::Resource::Properties::AWS::Batch::JobDefinition::ResourceRequirement',
290 as 'Cfn::Value';
291  
292 coerce 'Cfn::Resource::Properties::AWS::Batch::JobDefinition::ResourceRequirement',
293 from 'HashRef',
294 via {
295 0 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
Subroutine __ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
BranchTrueFalseTotal
if (my $f = Cfn::TypeLibrary::try_function($_)) { } 0 0 0
296 0 return $f
297 } else {
298 0 return Cfn::Resource::Properties::Object::AWS::Batch::JobDefinition::ResourceRequirement->new( %$_ );
299 }
300 3 };
301  
302 3 package Cfn::Resource::Properties::Object::AWS::Batch::JobDefinition::ResourceRequirement {
303 3 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
304 3 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
305 3 extends 'Cfn::Value::TypedValue';
306
307 3 has Type => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
308 3 has Value => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
309 }
310 subtype 'ArrayOfCfn::Resource::Properties::AWS::Batch::JobDefinition::MountPoints',
311 as 'Cfn::Value',
312 0 ▶ where { $_->isa('Cfn::Value::Array') or $_->isa('Cfn::Value::Function') },
Subroutine __ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
BranchTrueFalseTotal
$_->isa("Cfn::Value::Array") or $_->isa("Cfn::Value::Function") 0 0 0
313 0 ▶message { "$_ is not a Cfn::Value or a Cfn::Value::Function" };
Subroutine __ANON__: not called CC=1 SCAR=1.2
314  
315 coerce 'ArrayOfCfn::Resource::Properties::AWS::Batch::JobDefinition::MountPoints',
316 from 'HashRef',
317 via {
318 0 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
Subroutine __ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
BranchTrueFalseTotal
if (my $f = Cfn::TypeLibrary::try_function($_)) { } 0 0 0
319 0 return $f
320 } else {
321 0 die 'Only accepts functions';
322 }
323 },
324 from 'ArrayRef',
325 via {
326 Cfn::Value::Array->new(Value => [
327 map {
328 0 ▶ Moose::Util::TypeConstraints::find_type_constraint('Cfn::Resource::Properties::AWS::Batch::JobDefinition::MountPoints')->coerce($_)
Subroutine __ANON__: not called CC=1 SCAR=6.9
329 } @$_
330 ]);
331 3 };
332  
333 3 subtype 'Cfn::Resource::Properties::AWS::Batch::JobDefinition::MountPoints',
334 as 'Cfn::Value';
335  
336 coerce 'Cfn::Resource::Properties::AWS::Batch::JobDefinition::MountPoints',
337 from 'HashRef',
338 via {
339 0 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
Subroutine __ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
BranchTrueFalseTotal
if (my $f = Cfn::TypeLibrary::try_function($_)) { } 0 0 0
340 0 return $f
341 } else {
342 0 return Cfn::Resource::Properties::Object::AWS::Batch::JobDefinition::MountPoints->new( %$_ );
343 }
344 3 };
345  
346 3 package Cfn::Resource::Properties::Object::AWS::Batch::JobDefinition::MountPoints {
347 3 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
348 3 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
349 3 extends 'Cfn::Value::TypedValue';
350
351 3 has ContainerPath => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
352 3 has ReadOnly => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
353 3 has SourceVolume => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
354 }
355  
356 3 subtype 'Cfn::Resource::Properties::AWS::Batch::JobDefinition::LogConfiguration',
357 as 'Cfn::Value';
358  
359 coerce 'Cfn::Resource::Properties::AWS::Batch::JobDefinition::LogConfiguration',
360 from 'HashRef',
361 via {
362 0 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
Subroutine __ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
BranchTrueFalseTotal
if (my $f = Cfn::TypeLibrary::try_function($_)) { } 0 0 0
363 0 return $f
364 } else {
365 0 return Cfn::Resource::Properties::Object::AWS::Batch::JobDefinition::LogConfiguration->new( %$_ );
366 }
367 3 };
368  
369 3 package Cfn::Resource::Properties::Object::AWS::Batch::JobDefinition::LogConfiguration {
370 3 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
371 3 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
372 3 extends 'Cfn::Value::TypedValue';
373
374 3 has LogDriver => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
375 3 has Options => (isa => 'Cfn::Value::Json|Cfn::DynamicValue', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
376 3 has SecretOptions => (isa => 'ArrayOfCfn::Resource::Properties::AWS::Batch::JobDefinition::Secret', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
377 }
378  
379 3 subtype 'Cfn::Resource::Properties::AWS::Batch::JobDefinition::LinuxParameters',
380 as 'Cfn::Value';
381  
382 coerce 'Cfn::Resource::Properties::AWS::Batch::JobDefinition::LinuxParameters',
383 from 'HashRef',
384 via {
385 0 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
Subroutine __ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
BranchTrueFalseTotal
if (my $f = Cfn::TypeLibrary::try_function($_)) { } 0 0 0
386 0 return $f
387 } else {
388 0 return Cfn::Resource::Properties::Object::AWS::Batch::JobDefinition::LinuxParameters->new( %$_ );
389 }
390 3 };
391  
392 3 package Cfn::Resource::Properties::Object::AWS::Batch::JobDefinition::LinuxParameters {
393 3 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
394 3 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
395 3 extends 'Cfn::Value::TypedValue';
396
397 3 has Devices => (isa => 'ArrayOfCfn::Resource::Properties::AWS::Batch::JobDefinition::Device', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
398 3 has InitProcessEnabled => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
399 3 has MaxSwap => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
400 3 has SharedMemorySize => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
401 3 has Swappiness => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
402 3 has Tmpfs => (isa => 'ArrayOfCfn::Resource::Properties::AWS::Batch::JobDefinition::Tmpfs', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
403 }
404 subtype 'ArrayOfCfn::Resource::Properties::AWS::Batch::JobDefinition::Environment',
405 as 'Cfn::Value',
406 0 ▶ where { $_->isa('Cfn::Value::Array') or $_->isa('Cfn::Value::Function') },
Subroutine __ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
BranchTrueFalseTotal
$_->isa("Cfn::Value::Array") or $_->isa("Cfn::Value::Function") 0 0 0
407 0 ▶message { "$_ is not a Cfn::Value or a Cfn::Value::Function" };
Subroutine __ANON__: not called CC=1 SCAR=1.2
408  
409 coerce 'ArrayOfCfn::Resource::Properties::AWS::Batch::JobDefinition::Environment',
410 from 'HashRef',
411 via {
412 0 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
Subroutine __ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
BranchTrueFalseTotal
if (my $f = Cfn::TypeLibrary::try_function($_)) { } 0 0 0
413 0 return $f
414 } else {
415 0 die 'Only accepts functions';
416 }
417 },
418 from 'ArrayRef',
419 via {
420 Cfn::Value::Array->new(Value => [
421 map {
422 0 ▶ Moose::Util::TypeConstraints::find_type_constraint('Cfn::Resource::Properties::AWS::Batch::JobDefinition::Environment')->coerce($_)
Subroutine __ANON__: not called CC=1 SCAR=6.9
423 } @$_
424 ]);
425 3 };
426  
427 3 subtype 'Cfn::Resource::Properties::AWS::Batch::JobDefinition::Environment',
428 as 'Cfn::Value';
429  
430 coerce 'Cfn::Resource::Properties::AWS::Batch::JobDefinition::Environment',
431 from 'HashRef',
432 via {
433 0 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
Subroutine __ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
BranchTrueFalseTotal
if (my $f = Cfn::TypeLibrary::try_function($_)) { } 0 0 0
434 0 return $f
435 } else {
436 0 return Cfn::Resource::Properties::Object::AWS::Batch::JobDefinition::Environment->new( %$_ );
437 }
438 3 };
439  
440 3 package Cfn::Resource::Properties::Object::AWS::Batch::JobDefinition::Environment {
441 3 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
442 3 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
443 3 extends 'Cfn::Value::TypedValue';
444
445 3 has Name => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
446 3 has Value => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
447 }
448  
449 3 subtype 'Cfn::Resource::Properties::AWS::Batch::JobDefinition::ContainerProperties',
450 as 'Cfn::Value';
451  
452 coerce 'Cfn::Resource::Properties::AWS::Batch::JobDefinition::ContainerProperties',
453 from 'HashRef',
454 via {
455 6 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
Subroutine __ANON__: called CC=2 SCAR=8.1
Branch: 1 branch
BranchTrueFalseTotal
if (my $f = Cfn::TypeLibrary::try_function($_)) { } 0 6 6
456 0 return $f
457 } else {
458 6 return Cfn::Resource::Properties::Object::AWS::Batch::JobDefinition::ContainerProperties->new( %$_ );
459 }
460 3 };
461  
462 3 package Cfn::Resource::Properties::Object::AWS::Batch::JobDefinition::ContainerProperties {
463 3 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
464 3 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
465 3 extends 'Cfn::Value::TypedValue';
466
467 3 has Command => (isa => 'Cfn::Value::Array|Cfn::Value::Function|Cfn::DynamicValue', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
468 3 has Environment => (isa => 'ArrayOfCfn::Resource::Properties::AWS::Batch::JobDefinition::Environment', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
469 3 has ExecutionRoleArn => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
470 3 has Image => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
471 3 has InstanceType => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
472 3 has JobRoleArn => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
473 3 has LinuxParameters => (isa => 'Cfn::Resource::Properties::AWS::Batch::JobDefinition::LinuxParameters', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
474 3 has LogConfiguration => (isa => 'Cfn::Resource::Properties::AWS::Batch::JobDefinition::LogConfiguration', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
475 3 has Memory => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
476 3 has MountPoints => (isa => 'ArrayOfCfn::Resource::Properties::AWS::Batch::JobDefinition::MountPoints', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
477 3 has Privileged => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
478 3 has ReadonlyRootFilesystem => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
479 3 has ResourceRequirements => (isa => 'ArrayOfCfn::Resource::Properties::AWS::Batch::JobDefinition::ResourceRequirement', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
480 3 has Secrets => (isa => 'ArrayOfCfn::Resource::Properties::AWS::Batch::JobDefinition::Secret', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
481 3 has Ulimits => (isa => 'ArrayOfCfn::Resource::Properties::AWS::Batch::JobDefinition::Ulimit', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
482 3 has User => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
483 3 has Vcpus => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
484 3 has Volumes => (isa => 'ArrayOfCfn::Resource::Properties::AWS::Batch::JobDefinition::Volumes', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
485 }
486 subtype 'ArrayOfCfn::Resource::Properties::AWS::Batch::JobDefinition::NodeRangeProperty',
487 as 'Cfn::Value',
488 0 ▶ where { $_->isa('Cfn::Value::Array') or $_->isa('Cfn::Value::Function') },
Subroutine __ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
BranchTrueFalseTotal
$_->isa("Cfn::Value::Array") or $_->isa("Cfn::Value::Function") 0 0 0
489 0 ▶message { "$_ is not a Cfn::Value or a Cfn::Value::Function" };
Subroutine __ANON__: not called CC=1 SCAR=1.2
490  
491 coerce 'ArrayOfCfn::Resource::Properties::AWS::Batch::JobDefinition::NodeRangeProperty',
492 from 'HashRef',
493 via {
494 0 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
Subroutine __ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
BranchTrueFalseTotal
if (my $f = Cfn::TypeLibrary::try_function($_)) { } 0 0 0
495 0 return $f
496 } else {
497 0 die 'Only accepts functions';
498 }
499 },
500 from 'ArrayRef',
501 via {
502 Cfn::Value::Array->new(Value => [
503 map {
504 0 ▶ Moose::Util::TypeConstraints::find_type_constraint('Cfn::Resource::Properties::AWS::Batch::JobDefinition::NodeRangeProperty')->coerce($_)
Subroutine __ANON__: not called CC=1 SCAR=6.9
505 } @$_
506 ]);
507 3 };
508  
509 3 subtype 'Cfn::Resource::Properties::AWS::Batch::JobDefinition::NodeRangeProperty',
510 as 'Cfn::Value';
511  
512 coerce 'Cfn::Resource::Properties::AWS::Batch::JobDefinition::NodeRangeProperty',
513 from 'HashRef',
514 via {
515 0 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
Subroutine __ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
BranchTrueFalseTotal
if (my $f = Cfn::TypeLibrary::try_function($_)) { } 0 0 0
516 0 return $f
517 } else {
518 0 return Cfn::Resource::Properties::Object::AWS::Batch::JobDefinition::NodeRangeProperty->new( %$_ );
519 }
520 3 };
521  
522 3 package Cfn::Resource::Properties::Object::AWS::Batch::JobDefinition::NodeRangeProperty {
523 3 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
524 3 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
525 3 extends 'Cfn::Value::TypedValue';
526
527 3 has Container => (isa => 'Cfn::Resource::Properties::AWS::Batch::JobDefinition::ContainerProperties', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
528 3 has TargetNodes => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
529 }
530 subtype 'ArrayOfCfn::Resource::Properties::AWS::Batch::JobDefinition::EvaluateOnExit',
531 as 'Cfn::Value',
532 0 ▶ where { $_->isa('Cfn::Value::Array') or $_->isa('Cfn::Value::Function') },
Subroutine __ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
BranchTrueFalseTotal
$_->isa("Cfn::Value::Array") or $_->isa("Cfn::Value::Function") 0 0 0
533 0 ▶message { "$_ is not a Cfn::Value or a Cfn::Value::Function" };
Subroutine __ANON__: not called CC=1 SCAR=1.2
534  
535 coerce 'ArrayOfCfn::Resource::Properties::AWS::Batch::JobDefinition::EvaluateOnExit',
536 from 'HashRef',
537 via {
538 0 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
Subroutine __ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
BranchTrueFalseTotal
if (my $f = Cfn::TypeLibrary::try_function($_)) { } 0 0 0
539 0 return $f
540 } else {
541 0 die 'Only accepts functions';
542 }
543 },
544 from 'ArrayRef',
545 via {
546 Cfn::Value::Array->new(Value => [
547 map {
548 0 ▶ Moose::Util::TypeConstraints::find_type_constraint('Cfn::Resource::Properties::AWS::Batch::JobDefinition::EvaluateOnExit')->coerce($_)
Subroutine __ANON__: not called CC=1 SCAR=6.9
549 } @$_
550 ]);
551 3 };
552  
553 3 subtype 'Cfn::Resource::Properties::AWS::Batch::JobDefinition::EvaluateOnExit',
554 as 'Cfn::Value';
555  
556 coerce 'Cfn::Resource::Properties::AWS::Batch::JobDefinition::EvaluateOnExit',
557 from 'HashRef',
558 via {
559 0 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
Subroutine __ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
BranchTrueFalseTotal
if (my $f = Cfn::TypeLibrary::try_function($_)) { } 0 0 0
560 0 return $f
561 } else {
562 0 return Cfn::Resource::Properties::Object::AWS::Batch::JobDefinition::EvaluateOnExit->new( %$_ );
563 }
564 3 };
565  
566 3 package Cfn::Resource::Properties::Object::AWS::Batch::JobDefinition::EvaluateOnExit {
567 3 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
568 3 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
569 3 extends 'Cfn::Value::TypedValue';
570
571 3 has Action => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
572 3 has OnExitCode => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
573 3 has OnReason => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
574 3 has OnStatusReason => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
575 }
576  
577 3 subtype 'Cfn::Resource::Properties::AWS::Batch::JobDefinition::Timeout',
578 as 'Cfn::Value';
579  
580 coerce 'Cfn::Resource::Properties::AWS::Batch::JobDefinition::Timeout',
581 from 'HashRef',
582 via {
583 0 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
Subroutine __ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
BranchTrueFalseTotal
if (my $f = Cfn::TypeLibrary::try_function($_)) { } 0 0 0
584 0 return $f
585 } else {
586 0 return Cfn::Resource::Properties::Object::AWS::Batch::JobDefinition::Timeout->new( %$_ );
587 }
588 3 };
589  
590 3 package Cfn::Resource::Properties::Object::AWS::Batch::JobDefinition::Timeout {
591 3 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
592 3 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
593 3 extends 'Cfn::Value::TypedValue';
594
595 3 has AttemptDurationSeconds => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
596 }
597  
598 3 subtype 'Cfn::Resource::Properties::AWS::Batch::JobDefinition::RetryStrategy',
599 as 'Cfn::Value';
600  
601 coerce 'Cfn::Resource::Properties::AWS::Batch::JobDefinition::RetryStrategy',
602 from 'HashRef',
603 via {
604 6 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
Subroutine __ANON__: called CC=2 SCAR=8.1
Branch: 1 branch
BranchTrueFalseTotal
if (my $f = Cfn::TypeLibrary::try_function($_)) { } 0 6 6
605 0 return $f
606 } else {
607 6 return Cfn::Resource::Properties::Object::AWS::Batch::JobDefinition::RetryStrategy->new( %$_ );
608 }
609 3 };
610  
611 3 package Cfn::Resource::Properties::Object::AWS::Batch::JobDefinition::RetryStrategy {
612 3 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
613 3 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
614 3 extends 'Cfn::Value::TypedValue';
615
616 3 has Attempts => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
617 3 has EvaluateOnExit => (isa => 'ArrayOfCfn::Resource::Properties::AWS::Batch::JobDefinition::EvaluateOnExit', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
618 }
619  
620 3 subtype 'Cfn::Resource::Properties::AWS::Batch::JobDefinition::NodeProperties',
621 as 'Cfn::Value';
622  
623 coerce 'Cfn::Resource::Properties::AWS::Batch::JobDefinition::NodeProperties',
624 from 'HashRef',
625 via {
626 0 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
Subroutine __ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
BranchTrueFalseTotal
if (my $f = Cfn::TypeLibrary::try_function($_)) { } 0 0 0
627 0 return $f
628 } else {
629 0 return Cfn::Resource::Properties::Object::AWS::Batch::JobDefinition::NodeProperties->new( %$_ );
630 }
631 3 };
632  
633 3 package Cfn::Resource::Properties::Object::AWS::Batch::JobDefinition::NodeProperties {
634 3 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
635 3 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
636 3 extends 'Cfn::Value::TypedValue';
637
638 3 has MainNode => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
639 3 has NodeRangeProperties => (isa => 'ArrayOfCfn::Resource::Properties::AWS::Batch::JobDefinition::NodeRangeProperty', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
640 3 has NumNodes => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
641 }
642  
643 3 package Cfn::Resource::Properties::AWS::Batch::JobDefinition {
644 3 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
645 3 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
646 3 extends 'Cfn::Resource::Properties';
647
648 3 has ContainerProperties => (isa => 'Cfn::Resource::Properties::AWS::Batch::JobDefinition::ContainerProperties', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
649 3 has JobDefinitionName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
650 3 has NodeProperties => (isa => 'Cfn::Resource::Properties::AWS::Batch::JobDefinition::NodeProperties', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
651 3 has Parameters => (isa => 'Cfn::Value::Json|Cfn::DynamicValue', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
652 3 has RetryStrategy => (isa => 'Cfn::Resource::Properties::AWS::Batch::JobDefinition::RetryStrategy', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
653 3 has Tags => (isa => 'Cfn::Value::Json|Cfn::DynamicValue', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
654 3 has Timeout => (isa => 'Cfn::Resource::Properties::AWS::Batch::JobDefinition::Timeout', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
655 3 has Type => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
656 }
657  
658 3 1;
659 ### main pod documentation begin ###
660  
661 =encoding UTF-8
662  
663 =head1 NAME
664  
665 Cfn::Resource::AWS::Batch::JobDefinition - Cfn resource for AWS::Batch::JobDefinition
666  
667 =head1 DESCRIPTION
668  
669 This module implements a Perl module that represents the CloudFormation object AWS::Batch::JobDefinition.
670  
671 See L<Cfn> for more information on how to use it.
672  
673 =head1 AUTHOR
674  
675 Jose Luis Martinez
676 CAPSiDE
677 jlmartinez@capside.com
678  
679 =head1 COPYRIGHT and LICENSE
680  
681 Copyright (c) 2013 by CAPSiDE
682 This code is distributed under the Apache 2 License. The full text of the
683 license can be found in the LICENSE file included with this module.
684  
685 =cut
« Cfn/Resource/AWS/NetworkFirewall/RuleGroup.pm ↑ Summary Cfn/Resource/AWS/EC2/LaunchTemplate.pm »