Cfn/Resource/AWS/EMR/Cluster.pm

filter: Statementstmt 75.6% 460 / 608 Branchbran 2.1% 2 / 94 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 50.0% 65 / 130 Podpod 0.0% 0 / 2 totaltotal 63.1% 527 / 834 CC 48 SCAR 12.9
CC
48
Cov
66%
__ANON__
6.0
__ANON__
6.0
__ANON__
6.0
CRAP 3.6
« Cfn/Resource/AWS/ECS/Service.pm ↑ Summary Cfn/Resource/AWS/CodeDeploy/DeploymentGroup.pm »
1 # AWS::EMR::Cluster generated from spec 20.1.0
2 1 ▶use Moose::Util::TypeConstraints;
Subroutine BEGIN: called CC=1 SCAR=0.0
3  
4 coerce 'Cfn::Resource::Properties::AWS::EMR::Cluster',
5 from 'HashRef',
6 2 ▶ via { Cfn::Resource::Properties::AWS::EMR::Cluster->new( %$_ ) };
Subroutine __ANON__: called CC=1 SCAR=0.0
7  
8 1 package Cfn::Resource::AWS::EMR::Cluster {
9 1 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
10 1 extends 'Cfn::Resource';
11 1 has Properties => (isa => 'Cfn::Resource::Properties::AWS::EMR::Cluster', is => 'rw', coerce => 1);
12
13 0 ▶ sub AttributeList {
Subroutine AttributeList: not called CC=1 SCAR=6.9
Pod undocumented
14 0 [ 'MasterPublicDNS' ]
15 }
16 0 ▶ sub supported_regions {
Subroutine supported_regions: not called CC=1 SCAR=6.9
Pod undocumented
17 0 [ 'af-south-1','ap-east-1','ap-northeast-1','ap-northeast-2','ap-northeast-3','ap-south-1','ap-southeast-1','ap-southeast-2','ca-central-1','cn-north-1','cn-northwest-1','eu-central-1','eu-north-1','eu-south-1','eu-west-1','eu-west-2','eu-west-3','me-south-1','sa-east-1','us-east-1','us-east-2','us-gov-east-1','us-gov-west-1','us-west-1','us-west-2' ]
18 }
19 }
20  
21  
22 subtype 'ArrayOfCfn::Resource::Properties::AWS::EMR::Cluster::MetricDimension',
23 as 'Cfn::Value',
24 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
25 0 ▶message { "$_ is not a Cfn::Value or a Cfn::Value::Function" };
Subroutine __ANON__: not called CC=1 SCAR=1.2
26  
27 coerce 'ArrayOfCfn::Resource::Properties::AWS::EMR::Cluster::MetricDimension',
28 from 'HashRef',
29 0 ▶ via {
Subroutine __ANON__: not called CC=2 SCAR=17.9
30 0 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
Branch: 1 branch
BranchTrueFalseTotal
if (my $f = Cfn::TypeLibrary::try_function($_)) { } 0 0 0
31 0 return $f
32 } else {
33 0 die 'Only accepts functions';
34 }
35 },
36 from 'ArrayRef',
37 0 ▶ via {
Subroutine __ANON__: not called CC=1 SCAR=6.9
38 Cfn::Value::Array->new(Value => [
39 map {
40 0 Moose::Util::TypeConstraints::find_type_constraint('Cfn::Resource::Properties::AWS::EMR::Cluster::MetricDimension')->coerce($_)
41 } @$_
42 ]);
43 1 };
44  
45 1 subtype 'Cfn::Resource::Properties::AWS::EMR::Cluster::MetricDimension',
46 as 'Cfn::Value';
47  
48 coerce 'Cfn::Resource::Properties::AWS::EMR::Cluster::MetricDimension',
49 from 'HashRef',
50 0 ▶ via {
Subroutine __ANON__: not called CC=2 SCAR=17.9
51 0 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
Branch: 1 branch
BranchTrueFalseTotal
if (my $f = Cfn::TypeLibrary::try_function($_)) { } 0 0 0
52 0 return $f
53 } else {
54 0 return Cfn::Resource::Properties::Object::AWS::EMR::Cluster::MetricDimension->new( %$_ );
55 }
56 1 };
57  
58 1 package Cfn::Resource::Properties::Object::AWS::EMR::Cluster::MetricDimension {
59 1 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
60 1 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
61 1 extends 'Cfn::Value::TypedValue';
62
63 1 has Key => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
64 1 has Value => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
65 }
66  
67 1 subtype 'Cfn::Resource::Properties::AWS::EMR::Cluster::VolumeSpecification',
68 as 'Cfn::Value';
69  
70 coerce 'Cfn::Resource::Properties::AWS::EMR::Cluster::VolumeSpecification',
71 from 'HashRef',
72 0 ▶ via {
Subroutine __ANON__: not called CC=2 SCAR=17.9
73 0 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
Branch: 1 branch
BranchTrueFalseTotal
if (my $f = Cfn::TypeLibrary::try_function($_)) { } 0 0 0
74 0 return $f
75 } else {
76 0 return Cfn::Resource::Properties::Object::AWS::EMR::Cluster::VolumeSpecification->new( %$_ );
77 }
78 1 };
79  
80 1 package Cfn::Resource::Properties::Object::AWS::EMR::Cluster::VolumeSpecification {
81 1 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
82 1 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
83 1 extends 'Cfn::Value::TypedValue';
84
85 1 has Iops => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
86 1 has SizeInGB => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
87 1 has VolumeType => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
88 }
89  
90 1 subtype 'Cfn::Resource::Properties::AWS::EMR::Cluster::SimpleScalingPolicyConfiguration',
91 as 'Cfn::Value';
92  
93 coerce 'Cfn::Resource::Properties::AWS::EMR::Cluster::SimpleScalingPolicyConfiguration',
94 from 'HashRef',
95 0 ▶ via {
Subroutine __ANON__: not called CC=2 SCAR=17.9
96 0 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
Branch: 1 branch
BranchTrueFalseTotal
if (my $f = Cfn::TypeLibrary::try_function($_)) { } 0 0 0
97 0 return $f
98 } else {
99 0 return Cfn::Resource::Properties::Object::AWS::EMR::Cluster::SimpleScalingPolicyConfiguration->new( %$_ );
100 }
101 1 };
102  
103 1 package Cfn::Resource::Properties::Object::AWS::EMR::Cluster::SimpleScalingPolicyConfiguration {
104 1 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
105 1 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
106 1 extends 'Cfn::Value::TypedValue';
107
108 1 has AdjustmentType => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
109 1 has CoolDown => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
110 1 has ScalingAdjustment => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
111 }
112  
113 1 subtype 'Cfn::Resource::Properties::AWS::EMR::Cluster::CloudWatchAlarmDefinition',
114 as 'Cfn::Value';
115  
116 coerce 'Cfn::Resource::Properties::AWS::EMR::Cluster::CloudWatchAlarmDefinition',
117 from 'HashRef',
118 0 ▶ via {
Subroutine __ANON__: not called CC=2 SCAR=17.9
119 0 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
Branch: 1 branch
BranchTrueFalseTotal
if (my $f = Cfn::TypeLibrary::try_function($_)) { } 0 0 0
120 0 return $f
121 } else {
122 0 return Cfn::Resource::Properties::Object::AWS::EMR::Cluster::CloudWatchAlarmDefinition->new( %$_ );
123 }
124 1 };
125  
126 1 package Cfn::Resource::Properties::Object::AWS::EMR::Cluster::CloudWatchAlarmDefinition {
127 1 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
128 1 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
129 1 extends 'Cfn::Value::TypedValue';
130
131 1 has ComparisonOperator => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
132 1 has Dimensions => (isa => 'ArrayOfCfn::Resource::Properties::AWS::EMR::Cluster::MetricDimension', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
133 1 has EvaluationPeriods => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
134 1 has MetricName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
135 1 has Namespace => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
136 1 has Period => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
137 1 has Statistic => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
138 1 has Threshold => (isa => 'Cfn::Value::Double', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
139 1 has Unit => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
140 }
141  
142 1 subtype 'Cfn::Resource::Properties::AWS::EMR::Cluster::ScalingTrigger',
143 as 'Cfn::Value';
144  
145 coerce 'Cfn::Resource::Properties::AWS::EMR::Cluster::ScalingTrigger',
146 from 'HashRef',
147 0 ▶ via {
Subroutine __ANON__: not called CC=2 SCAR=17.9
148 0 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
Branch: 1 branch
BranchTrueFalseTotal
if (my $f = Cfn::TypeLibrary::try_function($_)) { } 0 0 0
149 0 return $f
150 } else {
151 0 return Cfn::Resource::Properties::Object::AWS::EMR::Cluster::ScalingTrigger->new( %$_ );
152 }
153 1 };
154  
155 1 package Cfn::Resource::Properties::Object::AWS::EMR::Cluster::ScalingTrigger {
156 1 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
157 1 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
158 1 extends 'Cfn::Value::TypedValue';
159
160 1 has CloudWatchAlarmDefinition => (isa => 'Cfn::Resource::Properties::AWS::EMR::Cluster::CloudWatchAlarmDefinition', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
161 }
162  
163 1 subtype 'Cfn::Resource::Properties::AWS::EMR::Cluster::ScalingAction',
164 as 'Cfn::Value';
165  
166 coerce 'Cfn::Resource::Properties::AWS::EMR::Cluster::ScalingAction',
167 from 'HashRef',
168 0 ▶ via {
Subroutine __ANON__: not called CC=2 SCAR=17.9
169 0 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
Branch: 1 branch
BranchTrueFalseTotal
if (my $f = Cfn::TypeLibrary::try_function($_)) { } 0 0 0
170 0 return $f
171 } else {
172 0 return Cfn::Resource::Properties::Object::AWS::EMR::Cluster::ScalingAction->new( %$_ );
173 }
174 1 };
175  
176 1 package Cfn::Resource::Properties::Object::AWS::EMR::Cluster::ScalingAction {
177 1 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
178 1 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
179 1 extends 'Cfn::Value::TypedValue';
180
181 1 has Market => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
182 1 has SimpleScalingPolicyConfiguration => (isa => 'Cfn::Resource::Properties::AWS::EMR::Cluster::SimpleScalingPolicyConfiguration', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
183 }
184 subtype 'ArrayOfCfn::Resource::Properties::AWS::EMR::Cluster::EbsBlockDeviceConfig',
185 as 'Cfn::Value',
186 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
187 0 ▶message { "$_ is not a Cfn::Value or a Cfn::Value::Function" };
Subroutine __ANON__: not called CC=1 SCAR=1.2
188  
189 coerce 'ArrayOfCfn::Resource::Properties::AWS::EMR::Cluster::EbsBlockDeviceConfig',
190 from 'HashRef',
191 0 ▶ via {
Subroutine __ANON__: not called CC=2 SCAR=17.9
192 0 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
Branch: 1 branch
BranchTrueFalseTotal
if (my $f = Cfn::TypeLibrary::try_function($_)) { } 0 0 0
193 0 return $f
194 } else {
195 0 die 'Only accepts functions';
196 }
197 },
198 from 'ArrayRef',
199 0 ▶ via {
Subroutine __ANON__: not called CC=1 SCAR=6.9
200 Cfn::Value::Array->new(Value => [
201 map {
202 0 Moose::Util::TypeConstraints::find_type_constraint('Cfn::Resource::Properties::AWS::EMR::Cluster::EbsBlockDeviceConfig')->coerce($_)
203 } @$_
204 ]);
205 1 };
206  
207 1 subtype 'Cfn::Resource::Properties::AWS::EMR::Cluster::EbsBlockDeviceConfig',
208 as 'Cfn::Value';
209  
210 coerce 'Cfn::Resource::Properties::AWS::EMR::Cluster::EbsBlockDeviceConfig',
211 from 'HashRef',
212 0 ▶ via {
Subroutine __ANON__: not called CC=2 SCAR=17.9
213 0 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
Branch: 1 branch
BranchTrueFalseTotal
if (my $f = Cfn::TypeLibrary::try_function($_)) { } 0 0 0
214 0 return $f
215 } else {
216 0 return Cfn::Resource::Properties::Object::AWS::EMR::Cluster::EbsBlockDeviceConfig->new( %$_ );
217 }
218 1 };
219  
220 1 package Cfn::Resource::Properties::Object::AWS::EMR::Cluster::EbsBlockDeviceConfig {
221 1 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
222 1 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
223 1 extends 'Cfn::Value::TypedValue';
224
225 1 has VolumeSpecification => (isa => 'Cfn::Resource::Properties::AWS::EMR::Cluster::VolumeSpecification', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
226 1 has VolumesPerInstance => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
227 }
228  
229 1 subtype 'Cfn::Resource::Properties::AWS::EMR::Cluster::SpotProvisioningSpecification',
230 as 'Cfn::Value';
231  
232 coerce 'Cfn::Resource::Properties::AWS::EMR::Cluster::SpotProvisioningSpecification',
233 from 'HashRef',
234 0 ▶ via {
Subroutine __ANON__: not called CC=2 SCAR=17.9
235 0 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
Branch: 1 branch
BranchTrueFalseTotal
if (my $f = Cfn::TypeLibrary::try_function($_)) { } 0 0 0
236 0 return $f
237 } else {
238 0 return Cfn::Resource::Properties::Object::AWS::EMR::Cluster::SpotProvisioningSpecification->new( %$_ );
239 }
240 1 };
241  
242 1 package Cfn::Resource::Properties::Object::AWS::EMR::Cluster::SpotProvisioningSpecification {
243 1 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
244 1 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
245 1 extends 'Cfn::Value::TypedValue';
246
247 1 has AllocationStrategy => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
248 1 has BlockDurationMinutes => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
249 1 has TimeoutAction => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
250 1 has TimeoutDurationMinutes => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
251 }
252 subtype 'ArrayOfCfn::Resource::Properties::AWS::EMR::Cluster::ScalingRule',
253 as 'Cfn::Value',
254 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
255 0 ▶message { "$_ is not a Cfn::Value or a Cfn::Value::Function" };
Subroutine __ANON__: not called CC=1 SCAR=1.2
256  
257 coerce 'ArrayOfCfn::Resource::Properties::AWS::EMR::Cluster::ScalingRule',
258 from 'HashRef',
259 0 ▶ via {
Subroutine __ANON__: not called CC=2 SCAR=17.9
260 0 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
Branch: 1 branch
BranchTrueFalseTotal
if (my $f = Cfn::TypeLibrary::try_function($_)) { } 0 0 0
261 0 return $f
262 } else {
263 0 die 'Only accepts functions';
264 }
265 },
266 from 'ArrayRef',
267 0 ▶ via {
Subroutine __ANON__: not called CC=1 SCAR=6.9
268 Cfn::Value::Array->new(Value => [
269 map {
270 0 Moose::Util::TypeConstraints::find_type_constraint('Cfn::Resource::Properties::AWS::EMR::Cluster::ScalingRule')->coerce($_)
271 } @$_
272 ]);
273 1 };
274  
275 1 subtype 'Cfn::Resource::Properties::AWS::EMR::Cluster::ScalingRule',
276 as 'Cfn::Value';
277  
278 coerce 'Cfn::Resource::Properties::AWS::EMR::Cluster::ScalingRule',
279 from 'HashRef',
280 0 ▶ via {
Subroutine __ANON__: not called CC=2 SCAR=17.9
281 0 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
Branch: 1 branch
BranchTrueFalseTotal
if (my $f = Cfn::TypeLibrary::try_function($_)) { } 0 0 0
282 0 return $f
283 } else {
284 0 return Cfn::Resource::Properties::Object::AWS::EMR::Cluster::ScalingRule->new( %$_ );
285 }
286 1 };
287  
288 1 package Cfn::Resource::Properties::Object::AWS::EMR::Cluster::ScalingRule {
289 1 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
290 1 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
291 1 extends 'Cfn::Value::TypedValue';
292
293 1 has Action => (isa => 'Cfn::Resource::Properties::AWS::EMR::Cluster::ScalingAction', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
294 1 has Description => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
295 1 has Name => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
296 1 has Trigger => (isa => 'Cfn::Resource::Properties::AWS::EMR::Cluster::ScalingTrigger', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
297 }
298  
299 1 subtype 'Cfn::Resource::Properties::AWS::EMR::Cluster::ScalingConstraints',
300 as 'Cfn::Value';
301  
302 coerce 'Cfn::Resource::Properties::AWS::EMR::Cluster::ScalingConstraints',
303 from 'HashRef',
304 0 ▶ via {
Subroutine __ANON__: not called CC=2 SCAR=17.9
305 0 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
Branch: 1 branch
BranchTrueFalseTotal
if (my $f = Cfn::TypeLibrary::try_function($_)) { } 0 0 0
306 0 return $f
307 } else {
308 0 return Cfn::Resource::Properties::Object::AWS::EMR::Cluster::ScalingConstraints->new( %$_ );
309 }
310 1 };
311  
312 1 package Cfn::Resource::Properties::Object::AWS::EMR::Cluster::ScalingConstraints {
313 1 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
314 1 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
315 1 extends 'Cfn::Value::TypedValue';
316
317 1 has MaxCapacity => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
318 1 has MinCapacity => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
319 }
320  
321 1 subtype 'Cfn::Resource::Properties::AWS::EMR::Cluster::OnDemandProvisioningSpecification',
322 as 'Cfn::Value';
323  
324 coerce 'Cfn::Resource::Properties::AWS::EMR::Cluster::OnDemandProvisioningSpecification',
325 from 'HashRef',
326 0 ▶ via {
Subroutine __ANON__: not called CC=2 SCAR=17.9
327 0 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
Branch: 1 branch
BranchTrueFalseTotal
if (my $f = Cfn::TypeLibrary::try_function($_)) { } 0 0 0
328 0 return $f
329 } else {
330 0 return Cfn::Resource::Properties::Object::AWS::EMR::Cluster::OnDemandProvisioningSpecification->new( %$_ );
331 }
332 1 };
333  
334 1 package Cfn::Resource::Properties::Object::AWS::EMR::Cluster::OnDemandProvisioningSpecification {
335 1 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
336 1 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
337 1 extends 'Cfn::Value::TypedValue';
338
339 1 has AllocationStrategy => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
340 }
341  
342 1 subtype 'Cfn::Resource::Properties::AWS::EMR::Cluster::EbsConfiguration',
343 as 'Cfn::Value';
344  
345 coerce 'Cfn::Resource::Properties::AWS::EMR::Cluster::EbsConfiguration',
346 from 'HashRef',
347 0 ▶ via {
Subroutine __ANON__: not called CC=2 SCAR=17.9
348 0 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
Branch: 1 branch
BranchTrueFalseTotal
if (my $f = Cfn::TypeLibrary::try_function($_)) { } 0 0 0
349 0 return $f
350 } else {
351 0 return Cfn::Resource::Properties::Object::AWS::EMR::Cluster::EbsConfiguration->new( %$_ );
352 }
353 1 };
354  
355 1 package Cfn::Resource::Properties::Object::AWS::EMR::Cluster::EbsConfiguration {
356 1 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
357 1 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
358 1 extends 'Cfn::Value::TypedValue';
359
360 1 has EbsBlockDeviceConfigs => (isa => 'ArrayOfCfn::Resource::Properties::AWS::EMR::Cluster::EbsBlockDeviceConfig', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
361 1 has EbsOptimized => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
362 }
363 subtype 'ArrayOfCfn::Resource::Properties::AWS::EMR::Cluster::Configuration',
364 as 'Cfn::Value',
365 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
366 0 ▶message { "$_ is not a Cfn::Value or a Cfn::Value::Function" };
Subroutine __ANON__: not called CC=1 SCAR=1.2
367  
368 coerce 'ArrayOfCfn::Resource::Properties::AWS::EMR::Cluster::Configuration',
369 from 'HashRef',
370 0 ▶ via {
Subroutine __ANON__: not called CC=2 SCAR=17.9
371 0 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
Branch: 1 branch
BranchTrueFalseTotal
if (my $f = Cfn::TypeLibrary::try_function($_)) { } 0 0 0
372 0 return $f
373 } else {
374 0 die 'Only accepts functions';
375 }
376 },
377 from 'ArrayRef',
378 0 ▶ via {
Subroutine __ANON__: not called CC=1 SCAR=6.9
379 Cfn::Value::Array->new(Value => [
380 map {
381 0 Moose::Util::TypeConstraints::find_type_constraint('Cfn::Resource::Properties::AWS::EMR::Cluster::Configuration')->coerce($_)
382 } @$_
383 ]);
384 1 };
385  
386 1 subtype 'Cfn::Resource::Properties::AWS::EMR::Cluster::Configuration',
387 as 'Cfn::Value';
388  
389 coerce 'Cfn::Resource::Properties::AWS::EMR::Cluster::Configuration',
390 from 'HashRef',
391 0 ▶ via {
Subroutine __ANON__: not called CC=2 SCAR=17.9
392 0 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
Branch: 1 branch
BranchTrueFalseTotal
if (my $f = Cfn::TypeLibrary::try_function($_)) { } 0 0 0
393 0 return $f
394 } else {
395 0 return Cfn::Resource::Properties::Object::AWS::EMR::Cluster::Configuration->new( %$_ );
396 }
397 1 };
398  
399 1 package Cfn::Resource::Properties::Object::AWS::EMR::Cluster::Configuration {
400 1 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
401 1 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
402 1 extends 'Cfn::Value::TypedValue';
403
404 1 has Classification => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
405 1 has ConfigurationProperties => (isa => 'Cfn::Value::Hash|Cfn::DynamicValue', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
406 1 has Configurations => (isa => 'ArrayOfCfn::Resource::Properties::AWS::EMR::Cluster::Configuration', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
407 }
408 subtype 'ArrayOfCfn::Resource::Properties::AWS::EMR::Cluster::KeyValue',
409 as 'Cfn::Value',
410 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
411 0 ▶message { "$_ is not a Cfn::Value or a Cfn::Value::Function" };
Subroutine __ANON__: not called CC=1 SCAR=1.2
412  
413 coerce 'ArrayOfCfn::Resource::Properties::AWS::EMR::Cluster::KeyValue',
414 from 'HashRef',
415 0 ▶ via {
Subroutine __ANON__: not called CC=2 SCAR=17.9
416 0 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
Branch: 1 branch
BranchTrueFalseTotal
if (my $f = Cfn::TypeLibrary::try_function($_)) { } 0 0 0
417 0 return $f
418 } else {
419 0 die 'Only accepts functions';
420 }
421 },
422 from 'ArrayRef',
423 0 ▶ via {
Subroutine __ANON__: not called CC=1 SCAR=6.9
424 Cfn::Value::Array->new(Value => [
425 map {
426 0 Moose::Util::TypeConstraints::find_type_constraint('Cfn::Resource::Properties::AWS::EMR::Cluster::KeyValue')->coerce($_)
427 } @$_
428 ]);
429 1 };
430  
431 1 subtype 'Cfn::Resource::Properties::AWS::EMR::Cluster::KeyValue',
432 as 'Cfn::Value';
433  
434 coerce 'Cfn::Resource::Properties::AWS::EMR::Cluster::KeyValue',
435 from 'HashRef',
436 0 ▶ via {
Subroutine __ANON__: not called CC=2 SCAR=17.9
437 0 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
Branch: 1 branch
BranchTrueFalseTotal
if (my $f = Cfn::TypeLibrary::try_function($_)) { } 0 0 0
438 0 return $f
439 } else {
440 0 return Cfn::Resource::Properties::Object::AWS::EMR::Cluster::KeyValue->new( %$_ );
441 }
442 1 };
443  
444 1 package Cfn::Resource::Properties::Object::AWS::EMR::Cluster::KeyValue {
445 1 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
446 1 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
447 1 extends 'Cfn::Value::TypedValue';
448
449 1 has Key => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
450 1 has Value => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
451 }
452 subtype 'ArrayOfCfn::Resource::Properties::AWS::EMR::Cluster::InstanceTypeConfig',
453 as 'Cfn::Value',
454 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
455 0 ▶message { "$_ is not a Cfn::Value or a Cfn::Value::Function" };
Subroutine __ANON__: not called CC=1 SCAR=1.2
456  
457 coerce 'ArrayOfCfn::Resource::Properties::AWS::EMR::Cluster::InstanceTypeConfig',
458 from 'HashRef',
459 0 ▶ via {
Subroutine __ANON__: not called CC=2 SCAR=17.9
460 0 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
Branch: 1 branch
BranchTrueFalseTotal
if (my $f = Cfn::TypeLibrary::try_function($_)) { } 0 0 0
461 0 return $f
462 } else {
463 0 die 'Only accepts functions';
464 }
465 },
466 from 'ArrayRef',
467 0 ▶ via {
Subroutine __ANON__: not called CC=1 SCAR=6.9
468 Cfn::Value::Array->new(Value => [
469 map {
470 0 Moose::Util::TypeConstraints::find_type_constraint('Cfn::Resource::Properties::AWS::EMR::Cluster::InstanceTypeConfig')->coerce($_)
471 } @$_
472 ]);
473 1 };
474  
475 1 subtype 'Cfn::Resource::Properties::AWS::EMR::Cluster::InstanceTypeConfig',
476 as 'Cfn::Value';
477  
478 coerce 'Cfn::Resource::Properties::AWS::EMR::Cluster::InstanceTypeConfig',
479 from 'HashRef',
480 0 ▶ via {
Subroutine __ANON__: not called CC=2 SCAR=17.9
481 0 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
Branch: 1 branch
BranchTrueFalseTotal
if (my $f = Cfn::TypeLibrary::try_function($_)) { } 0 0 0
482 0 return $f
483 } else {
484 0 return Cfn::Resource::Properties::Object::AWS::EMR::Cluster::InstanceTypeConfig->new( %$_ );
485 }
486 1 };
487  
488 1 package Cfn::Resource::Properties::Object::AWS::EMR::Cluster::InstanceTypeConfig {
489 1 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
490 1 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
491 1 extends 'Cfn::Value::TypedValue';
492
493 1 has BidPrice => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
494 1 has BidPriceAsPercentageOfOnDemandPrice => (isa => 'Cfn::Value::Double', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
495 1 has Configurations => (isa => 'ArrayOfCfn::Resource::Properties::AWS::EMR::Cluster::Configuration', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
496 1 has EbsConfiguration => (isa => 'Cfn::Resource::Properties::AWS::EMR::Cluster::EbsConfiguration', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
497 1 has InstanceType => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
498 1 has WeightedCapacity => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
499 }
500  
501 1 subtype 'Cfn::Resource::Properties::AWS::EMR::Cluster::InstanceFleetProvisioningSpecifications',
502 as 'Cfn::Value';
503  
504 coerce 'Cfn::Resource::Properties::AWS::EMR::Cluster::InstanceFleetProvisioningSpecifications',
505 from 'HashRef',
506 0 ▶ via {
Subroutine __ANON__: not called CC=2 SCAR=17.9
507 0 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
Branch: 1 branch
BranchTrueFalseTotal
if (my $f = Cfn::TypeLibrary::try_function($_)) { } 0 0 0
508 0 return $f
509 } else {
510 0 return Cfn::Resource::Properties::Object::AWS::EMR::Cluster::InstanceFleetProvisioningSpecifications->new( %$_ );
511 }
512 1 };
513  
514 1 package Cfn::Resource::Properties::Object::AWS::EMR::Cluster::InstanceFleetProvisioningSpecifications {
515 1 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
516 1 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
517 1 extends 'Cfn::Value::TypedValue';
518
519 1 has OnDemandSpecification => (isa => 'Cfn::Resource::Properties::AWS::EMR::Cluster::OnDemandProvisioningSpecification', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
520 1 has SpotSpecification => (isa => 'Cfn::Resource::Properties::AWS::EMR::Cluster::SpotProvisioningSpecification', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
521 }
522  
523 1 subtype 'Cfn::Resource::Properties::AWS::EMR::Cluster::AutoScalingPolicy',
524 as 'Cfn::Value';
525  
526 coerce 'Cfn::Resource::Properties::AWS::EMR::Cluster::AutoScalingPolicy',
527 from 'HashRef',
528 0 ▶ via {
Subroutine __ANON__: not called CC=2 SCAR=17.9
529 0 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
Branch: 1 branch
BranchTrueFalseTotal
if (my $f = Cfn::TypeLibrary::try_function($_)) { } 0 0 0
530 0 return $f
531 } else {
532 0 return Cfn::Resource::Properties::Object::AWS::EMR::Cluster::AutoScalingPolicy->new( %$_ );
533 }
534 1 };
535  
536 1 package Cfn::Resource::Properties::Object::AWS::EMR::Cluster::AutoScalingPolicy {
537 1 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
538 1 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
539 1 extends 'Cfn::Value::TypedValue';
540
541 1 has Constraints => (isa => 'Cfn::Resource::Properties::AWS::EMR::Cluster::ScalingConstraints', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
542 1 has Rules => (isa => 'ArrayOfCfn::Resource::Properties::AWS::EMR::Cluster::ScalingRule', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
543 }
544  
545 1 subtype 'Cfn::Resource::Properties::AWS::EMR::Cluster::ScriptBootstrapActionConfig',
546 as 'Cfn::Value';
547  
548 coerce 'Cfn::Resource::Properties::AWS::EMR::Cluster::ScriptBootstrapActionConfig',
549 from 'HashRef',
550 0 ▶ via {
Subroutine __ANON__: not called CC=2 SCAR=17.9
551 0 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
Branch: 1 branch
BranchTrueFalseTotal
if (my $f = Cfn::TypeLibrary::try_function($_)) { } 0 0 0
552 0 return $f
553 } else {
554 0 return Cfn::Resource::Properties::Object::AWS::EMR::Cluster::ScriptBootstrapActionConfig->new( %$_ );
555 }
556 1 };
557  
558 1 package Cfn::Resource::Properties::Object::AWS::EMR::Cluster::ScriptBootstrapActionConfig {
559 1 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
560 1 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
561 1 extends 'Cfn::Value::TypedValue';
562
563 1 has Args => (isa => 'Cfn::Value::Array|Cfn::Value::Function|Cfn::DynamicValue', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
564 1 has Path => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
565 }
566  
567 1 subtype 'Cfn::Resource::Properties::AWS::EMR::Cluster::PlacementType',
568 as 'Cfn::Value';
569  
570 coerce 'Cfn::Resource::Properties::AWS::EMR::Cluster::PlacementType',
571 from 'HashRef',
572 0 ▶ via {
Subroutine __ANON__: not called CC=2 SCAR=17.9
573 0 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
Branch: 1 branch
BranchTrueFalseTotal
if (my $f = Cfn::TypeLibrary::try_function($_)) { } 0 0 0
574 0 return $f
575 } else {
576 0 return Cfn::Resource::Properties::Object::AWS::EMR::Cluster::PlacementType->new( %$_ );
577 }
578 1 };
579  
580 1 package Cfn::Resource::Properties::Object::AWS::EMR::Cluster::PlacementType {
581 1 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
582 1 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
583 1 extends 'Cfn::Value::TypedValue';
584
585 1 has AvailabilityZone => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
586 }
587  
588 1 subtype 'Cfn::Resource::Properties::AWS::EMR::Cluster::InstanceGroupConfig',
589 as 'Cfn::Value';
590  
591 coerce 'Cfn::Resource::Properties::AWS::EMR::Cluster::InstanceGroupConfig',
592 from 'HashRef',
593 4 ▶ via {
Subroutine __ANON__: called CC=2 SCAR=8.1
594 4 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
Branch: 1 branch
BranchTrueFalseTotal
if (my $f = Cfn::TypeLibrary::try_function($_)) { } 0 4 4
595 0 return $f
596 } else {
597 4 return Cfn::Resource::Properties::Object::AWS::EMR::Cluster::InstanceGroupConfig->new( %$_ );
598 }
599 1 };
600  
601 1 package Cfn::Resource::Properties::Object::AWS::EMR::Cluster::InstanceGroupConfig {
602 1 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
603 1 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
604 1 extends 'Cfn::Value::TypedValue';
605
606 1 has AutoScalingPolicy => (isa => 'Cfn::Resource::Properties::AWS::EMR::Cluster::AutoScalingPolicy', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
607 1 has BidPrice => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
608 1 has Configurations => (isa => 'ArrayOfCfn::Resource::Properties::AWS::EMR::Cluster::Configuration', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
609 1 has EbsConfiguration => (isa => 'Cfn::Resource::Properties::AWS::EMR::Cluster::EbsConfiguration', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
610 1 has InstanceCount => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
611 1 has InstanceType => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
612 1 has Market => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
613 1 has Name => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
614 }
615  
616 1 subtype 'Cfn::Resource::Properties::AWS::EMR::Cluster::InstanceFleetConfig',
617 as 'Cfn::Value';
618  
619 coerce 'Cfn::Resource::Properties::AWS::EMR::Cluster::InstanceFleetConfig',
620 from 'HashRef',
621 0 ▶ via {
Subroutine __ANON__: not called CC=2 SCAR=17.9
622 0 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
Branch: 1 branch
BranchTrueFalseTotal
if (my $f = Cfn::TypeLibrary::try_function($_)) { } 0 0 0
623 0 return $f
624 } else {
625 0 return Cfn::Resource::Properties::Object::AWS::EMR::Cluster::InstanceFleetConfig->new( %$_ );
626 }
627 1 };
628  
629 1 package Cfn::Resource::Properties::Object::AWS::EMR::Cluster::InstanceFleetConfig {
630 1 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
631 1 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
632 1 extends 'Cfn::Value::TypedValue';
633
634 1 has InstanceTypeConfigs => (isa => 'ArrayOfCfn::Resource::Properties::AWS::EMR::Cluster::InstanceTypeConfig', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
635 1 has LaunchSpecifications => (isa => 'Cfn::Resource::Properties::AWS::EMR::Cluster::InstanceFleetProvisioningSpecifications', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
636 1 has Name => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
637 1 has TargetOnDemandCapacity => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
638 1 has TargetSpotCapacity => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
639 }
640  
641 1 subtype 'Cfn::Resource::Properties::AWS::EMR::Cluster::HadoopJarStepConfig',
642 as 'Cfn::Value';
643  
644 coerce 'Cfn::Resource::Properties::AWS::EMR::Cluster::HadoopJarStepConfig',
645 from 'HashRef',
646 0 ▶ via {
Subroutine __ANON__: not called CC=2 SCAR=17.9
647 0 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
Branch: 1 branch
BranchTrueFalseTotal
if (my $f = Cfn::TypeLibrary::try_function($_)) { } 0 0 0
648 0 return $f
649 } else {
650 0 return Cfn::Resource::Properties::Object::AWS::EMR::Cluster::HadoopJarStepConfig->new( %$_ );
651 }
652 1 };
653  
654 1 package Cfn::Resource::Properties::Object::AWS::EMR::Cluster::HadoopJarStepConfig {
655 1 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
656 1 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
657 1 extends 'Cfn::Value::TypedValue';
658
659 1 has Args => (isa => 'Cfn::Value::Array|Cfn::Value::Function|Cfn::DynamicValue', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
660 1 has Jar => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
661 1 has MainClass => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
662 1 has StepProperties => (isa => 'ArrayOfCfn::Resource::Properties::AWS::EMR::Cluster::KeyValue', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
663 }
664  
665 1 subtype 'Cfn::Resource::Properties::AWS::EMR::Cluster::ComputeLimits',
666 as 'Cfn::Value';
667  
668 coerce 'Cfn::Resource::Properties::AWS::EMR::Cluster::ComputeLimits',
669 from 'HashRef',
670 0 ▶ via {
Subroutine __ANON__: not called CC=2 SCAR=17.9
671 0 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
Branch: 1 branch
BranchTrueFalseTotal
if (my $f = Cfn::TypeLibrary::try_function($_)) { } 0 0 0
672 0 return $f
673 } else {
674 0 return Cfn::Resource::Properties::Object::AWS::EMR::Cluster::ComputeLimits->new( %$_ );
675 }
676 1 };
677  
678 1 package Cfn::Resource::Properties::Object::AWS::EMR::Cluster::ComputeLimits {
679 1 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
680 1 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
681 1 extends 'Cfn::Value::TypedValue';
682
683 1 has MaximumCapacityUnits => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
684 1 has MaximumCoreCapacityUnits => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
685 1 has MaximumOnDemandCapacityUnits => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
686 1 has MinimumCapacityUnits => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
687 1 has UnitType => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
688 }
689 subtype 'ArrayOfCfn::Resource::Properties::AWS::EMR::Cluster::StepConfig',
690 as 'Cfn::Value',
691 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
692 0 ▶message { "$_ is not a Cfn::Value or a Cfn::Value::Function" };
Subroutine __ANON__: not called CC=1 SCAR=1.2
693  
694 coerce 'ArrayOfCfn::Resource::Properties::AWS::EMR::Cluster::StepConfig',
695 from 'HashRef',
696 0 ▶ via {
Subroutine __ANON__: not called CC=2 SCAR=17.9
697 0 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
Branch: 1 branch
BranchTrueFalseTotal
if (my $f = Cfn::TypeLibrary::try_function($_)) { } 0 0 0
698 0 return $f
699 } else {
700 0 die 'Only accepts functions';
701 }
702 },
703 from 'ArrayRef',
704 0 ▶ via {
Subroutine __ANON__: not called CC=1 SCAR=6.9
705 Cfn::Value::Array->new(Value => [
706 map {
707 0 Moose::Util::TypeConstraints::find_type_constraint('Cfn::Resource::Properties::AWS::EMR::Cluster::StepConfig')->coerce($_)
708 } @$_
709 ]);
710 1 };
711  
712 1 subtype 'Cfn::Resource::Properties::AWS::EMR::Cluster::StepConfig',
713 as 'Cfn::Value';
714  
715 coerce 'Cfn::Resource::Properties::AWS::EMR::Cluster::StepConfig',
716 from 'HashRef',
717 0 ▶ via {
Subroutine __ANON__: not called CC=2 SCAR=17.9
718 0 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
Branch: 1 branch
BranchTrueFalseTotal
if (my $f = Cfn::TypeLibrary::try_function($_)) { } 0 0 0
719 0 return $f
720 } else {
721 0 return Cfn::Resource::Properties::Object::AWS::EMR::Cluster::StepConfig->new( %$_ );
722 }
723 1 };
724  
725 1 package Cfn::Resource::Properties::Object::AWS::EMR::Cluster::StepConfig {
726 1 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
727 1 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
728 1 extends 'Cfn::Value::TypedValue';
729
730 1 has ActionOnFailure => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
731 1 has HadoopJarStep => (isa => 'Cfn::Resource::Properties::AWS::EMR::Cluster::HadoopJarStepConfig', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
732 1 has Name => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
733 }
734  
735 1 subtype 'Cfn::Resource::Properties::AWS::EMR::Cluster::ManagedScalingPolicy',
736 as 'Cfn::Value';
737  
738 coerce 'Cfn::Resource::Properties::AWS::EMR::Cluster::ManagedScalingPolicy',
739 from 'HashRef',
740 0 ▶ via {
Subroutine __ANON__: not called CC=2 SCAR=17.9
741 0 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
Branch: 1 branch
BranchTrueFalseTotal
if (my $f = Cfn::TypeLibrary::try_function($_)) { } 0 0 0
742 0 return $f
743 } else {
744 0 return Cfn::Resource::Properties::Object::AWS::EMR::Cluster::ManagedScalingPolicy->new( %$_ );
745 }
746 1 };
747  
748 1 package Cfn::Resource::Properties::Object::AWS::EMR::Cluster::ManagedScalingPolicy {
749 1 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
750 1 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
751 1 extends 'Cfn::Value::TypedValue';
752
753 1 has ComputeLimits => (isa => 'Cfn::Resource::Properties::AWS::EMR::Cluster::ComputeLimits', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
754 }
755  
756 1 subtype 'Cfn::Resource::Properties::AWS::EMR::Cluster::KerberosAttributes',
757 as 'Cfn::Value';
758  
759 coerce 'Cfn::Resource::Properties::AWS::EMR::Cluster::KerberosAttributes',
760 from 'HashRef',
761 0 ▶ via {
Subroutine __ANON__: not called CC=2 SCAR=17.9
762 0 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
Branch: 1 branch
BranchTrueFalseTotal
if (my $f = Cfn::TypeLibrary::try_function($_)) { } 0 0 0
763 0 return $f
764 } else {
765 0 return Cfn::Resource::Properties::Object::AWS::EMR::Cluster::KerberosAttributes->new( %$_ );
766 }
767 1 };
768  
769 1 package Cfn::Resource::Properties::Object::AWS::EMR::Cluster::KerberosAttributes {
770 1 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
771 1 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
772 1 extends 'Cfn::Value::TypedValue';
773
774 1 has ADDomainJoinPassword => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
775 1 has ADDomainJoinUser => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
776 1 has CrossRealmTrustPrincipalPassword => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
777 1 has KdcAdminPassword => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
778 1 has Realm => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
779 }
780  
781 1 subtype 'Cfn::Resource::Properties::AWS::EMR::Cluster::JobFlowInstancesConfig',
782 as 'Cfn::Value';
783  
784 coerce 'Cfn::Resource::Properties::AWS::EMR::Cluster::JobFlowInstancesConfig',
785 from 'HashRef',
786 2 ▶ via {
Subroutine __ANON__: called CC=2 SCAR=8.1
787 2 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
Branch: 1 branch
BranchTrueFalseTotal
if (my $f = Cfn::TypeLibrary::try_function($_)) { } 0 2 2
788 0 return $f
789 } else {
790 2 return Cfn::Resource::Properties::Object::AWS::EMR::Cluster::JobFlowInstancesConfig->new( %$_ );
791 }
792 1 };
793  
794 1 package Cfn::Resource::Properties::Object::AWS::EMR::Cluster::JobFlowInstancesConfig {
795 1 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
796 1 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
797 1 extends 'Cfn::Value::TypedValue';
798
799 1 has AdditionalMasterSecurityGroups => (isa => 'Cfn::Value::Array|Cfn::Value::Function|Cfn::DynamicValue', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
800 1 has AdditionalSlaveSecurityGroups => (isa => 'Cfn::Value::Array|Cfn::Value::Function|Cfn::DynamicValue', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
801 1 has CoreInstanceFleet => (isa => 'Cfn::Resource::Properties::AWS::EMR::Cluster::InstanceFleetConfig', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
802 1 has CoreInstanceGroup => (isa => 'Cfn::Resource::Properties::AWS::EMR::Cluster::InstanceGroupConfig', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
803 1 has Ec2KeyName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
804 1 has Ec2SubnetId => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
805 1 has Ec2SubnetIds => (isa => 'Cfn::Value::Array|Cfn::Value::Function|Cfn::DynamicValue', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
806 1 has EmrManagedMasterSecurityGroup => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
807 1 has EmrManagedSlaveSecurityGroup => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
808 1 has HadoopVersion => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
809 1 has KeepJobFlowAliveWhenNoSteps => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
810 1 has MasterInstanceFleet => (isa => 'Cfn::Resource::Properties::AWS::EMR::Cluster::InstanceFleetConfig', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
811 1 has MasterInstanceGroup => (isa => 'Cfn::Resource::Properties::AWS::EMR::Cluster::InstanceGroupConfig', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
812 1 has Placement => (isa => 'Cfn::Resource::Properties::AWS::EMR::Cluster::PlacementType', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
813 1 has ServiceAccessSecurityGroup => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
814 1 has TerminationProtected => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
815 }
816 subtype 'ArrayOfCfn::Resource::Properties::AWS::EMR::Cluster::BootstrapActionConfig',
817 as 'Cfn::Value',
818 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
819 0 ▶message { "$_ is not a Cfn::Value or a Cfn::Value::Function" };
Subroutine __ANON__: not called CC=1 SCAR=1.2
820  
821 coerce 'ArrayOfCfn::Resource::Properties::AWS::EMR::Cluster::BootstrapActionConfig',
822 from 'HashRef',
823 0 ▶ via {
Subroutine __ANON__: not called CC=2 SCAR=17.9
824 0 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
Branch: 1 branch
BranchTrueFalseTotal
if (my $f = Cfn::TypeLibrary::try_function($_)) { } 0 0 0
825 0 return $f
826 } else {
827 0 die 'Only accepts functions';
828 }
829 },
830 from 'ArrayRef',
831 0 ▶ via {
Subroutine __ANON__: not called CC=1 SCAR=6.9
832 Cfn::Value::Array->new(Value => [
833 map {
834 0 Moose::Util::TypeConstraints::find_type_constraint('Cfn::Resource::Properties::AWS::EMR::Cluster::BootstrapActionConfig')->coerce($_)
835 } @$_
836 ]);
837 1 };
838  
839 1 subtype 'Cfn::Resource::Properties::AWS::EMR::Cluster::BootstrapActionConfig',
840 as 'Cfn::Value';
841  
842 coerce 'Cfn::Resource::Properties::AWS::EMR::Cluster::BootstrapActionConfig',
843 from 'HashRef',
844 0 ▶ via {
Subroutine __ANON__: not called CC=2 SCAR=17.9
845 0 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
Branch: 1 branch
BranchTrueFalseTotal
if (my $f = Cfn::TypeLibrary::try_function($_)) { } 0 0 0
846 0 return $f
847 } else {
848 0 return Cfn::Resource::Properties::Object::AWS::EMR::Cluster::BootstrapActionConfig->new( %$_ );
849 }
850 1 };
851  
852 1 package Cfn::Resource::Properties::Object::AWS::EMR::Cluster::BootstrapActionConfig {
853 1 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
854 1 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
855 1 extends 'Cfn::Value::TypedValue';
856
857 1 has Name => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
858 1 has ScriptBootstrapAction => (isa => 'Cfn::Resource::Properties::AWS::EMR::Cluster::ScriptBootstrapActionConfig', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
859 }
860 subtype 'ArrayOfCfn::Resource::Properties::AWS::EMR::Cluster::Application',
861 as 'Cfn::Value',
862 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
863 0 ▶message { "$_ is not a Cfn::Value or a Cfn::Value::Function" };
Subroutine __ANON__: not called CC=1 SCAR=1.2
864  
865 coerce 'ArrayOfCfn::Resource::Properties::AWS::EMR::Cluster::Application',
866 from 'HashRef',
867 0 ▶ via {
Subroutine __ANON__: not called CC=2 SCAR=17.9
868 0 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
Branch: 1 branch
BranchTrueFalseTotal
if (my $f = Cfn::TypeLibrary::try_function($_)) { } 0 0 0
869 0 return $f
870 } else {
871 0 die 'Only accepts functions';
872 }
873 },
874 from 'ArrayRef',
875 0 ▶ via {
Subroutine __ANON__: not called CC=1 SCAR=6.9
876 Cfn::Value::Array->new(Value => [
877 map {
878 0 Moose::Util::TypeConstraints::find_type_constraint('Cfn::Resource::Properties::AWS::EMR::Cluster::Application')->coerce($_)
879 } @$_
880 ]);
881 1 };
882  
883 1 subtype 'Cfn::Resource::Properties::AWS::EMR::Cluster::Application',
884 as 'Cfn::Value';
885  
886 coerce 'Cfn::Resource::Properties::AWS::EMR::Cluster::Application',
887 from 'HashRef',
888 0 ▶ via {
Subroutine __ANON__: not called CC=2 SCAR=17.9
889 0 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
Branch: 1 branch
BranchTrueFalseTotal
if (my $f = Cfn::TypeLibrary::try_function($_)) { } 0 0 0
890 0 return $f
891 } else {
892 0 return Cfn::Resource::Properties::Object::AWS::EMR::Cluster::Application->new( %$_ );
893 }
894 1 };
895  
896 1 package Cfn::Resource::Properties::Object::AWS::EMR::Cluster::Application {
897 1 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
898 1 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
899 1 extends 'Cfn::Value::TypedValue';
900
901 1 has AdditionalInfo => (isa => 'Cfn::Value::Hash|Cfn::DynamicValue', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
902 1 has Args => (isa => 'Cfn::Value::Array|Cfn::Value::Function|Cfn::DynamicValue', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
903 1 has Name => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
904 1 has Version => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
905 }
906  
907 1 package Cfn::Resource::Properties::AWS::EMR::Cluster {
908 1 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
909 1 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
910 1 extends 'Cfn::Resource::Properties';
911
912 1 has AdditionalInfo => (isa => 'Cfn::Value::Json|Cfn::DynamicValue', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
913 1 has Applications => (isa => 'ArrayOfCfn::Resource::Properties::AWS::EMR::Cluster::Application', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
914 1 has AutoScalingRole => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
915 1 has BootstrapActions => (isa => 'ArrayOfCfn::Resource::Properties::AWS::EMR::Cluster::BootstrapActionConfig', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
916 1 has Configurations => (isa => 'ArrayOfCfn::Resource::Properties::AWS::EMR::Cluster::Configuration', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
917 1 has CustomAmiId => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
918 1 has EbsRootVolumeSize => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
919 1 has Instances => (isa => 'Cfn::Resource::Properties::AWS::EMR::Cluster::JobFlowInstancesConfig', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Conditional');
920 1 has JobFlowRole => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
921 1 has KerberosAttributes => (isa => 'Cfn::Resource::Properties::AWS::EMR::Cluster::KerberosAttributes', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
922 1 has LogEncryptionKmsKeyId => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
923 1 has LogUri => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
924 1 has ManagedScalingPolicy => (isa => 'Cfn::Resource::Properties::AWS::EMR::Cluster::ManagedScalingPolicy', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
925 1 has Name => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
926 1 has ReleaseLabel => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
927 1 has ScaleDownBehavior => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
928 1 has SecurityConfiguration => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
929 1 has ServiceRole => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
930 1 has StepConcurrencyLevel => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
931 1 has Steps => (isa => 'ArrayOfCfn::Resource::Properties::AWS::EMR::Cluster::StepConfig', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
932 1 has Tags => (isa => 'ArrayOfCfn::Resource::Properties::TagType', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
933 1 has VisibleToAllUsers => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
934 }
935  
936 1 1;
937 ### main pod documentation begin ###
938  
939 =encoding UTF-8
940  
941 =head1 NAME
942  
943 Cfn::Resource::AWS::EMR::Cluster - Cfn resource for AWS::EMR::Cluster
944  
945 =head1 DESCRIPTION
946  
947 This module implements a Perl module that represents the CloudFormation object AWS::EMR::Cluster.
948  
949 See L<Cfn> for more information on how to use it.
950  
951 =head1 AUTHOR
952  
953 Jose Luis Martinez
954 CAPSiDE
955 jlmartinez@capside.com
956  
957 =head1 COPYRIGHT and LICENSE
958  
959 Copyright (c) 2013 by CAPSiDE
960 This code is distributed under the Apache 2 License. The full text of the
961 license can be found in the LICENSE file included with this module.
962  
963 =cut
« Cfn/Resource/AWS/ECS/Service.pm ↑ Summary Cfn/Resource/AWS/CodeDeploy/DeploymentGroup.pm »