Cfn/Resource/AWS/AppMesh/VirtualNode.pm

filter: Statementstmt 75.6% 189 / 250 Branchbran 0.0% 0 / 38 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 55.1% 32 / 58 Podpod 0.0% 0 / 2 totaltotal 63.5% 221 / 348 SCAR 35.9
CC
20
Cov
66%
__ANON__
6.0
__ANON__
6.0
__ANON__
6.0
CRAP 36.2
« Cfn/Resource/AWS/CodePipeline/Pipeline.pm ↑ Summary Cfn/Resource/AWS/AutoScalingPlans/ScalingPlan.pm »
1 # AWS::AppMesh::VirtualNode generated from spec 4.1.0
2 1 ▶use Moose::Util::TypeConstraints;
Subroutine BEGIN: called CC=1 SCAR=0.0
3  
4 coerce 'Cfn::Resource::Properties::AWS::AppMesh::VirtualNode',
5 from 'HashRef',
6 0 ▶ via { Cfn::Resource::Properties::AWS::AppMesh::VirtualNode->new( %$_ ) };
Subroutine __ANON__: not called CC=1 SCAR=1.2
7  
8 1 package Cfn::Resource::AWS::AppMesh::VirtualNode {
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::AppMesh::VirtualNode', is => 'rw', coerce => 1);
12
13 sub AttributeList {
14 1 ▶ [ 'Arn','MeshName','Uid','VirtualNodeName' ]
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','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 1 subtype 'Cfn::Resource::Properties::AWS::AppMesh::VirtualNode::FileAccessLog',
24 as 'Cfn::Value';
25  
26 coerce 'Cfn::Resource::Properties::AWS::AppMesh::VirtualNode::FileAccessLog',
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::AWS::AppMesh::VirtualNode::FileAccessLogValue->new( %$_ );
33 }
34 1 };
35  
36 1 package Cfn::Resource::Properties::AWS::AppMesh::VirtualNode::FileAccessLogValue {
37 1 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
38 1 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
39 1 extends 'Cfn::Value::TypedValue';
40
41 1 has Path => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
42 }
43 subtype 'ArrayOfCfn::Resource::Properties::AWS::AppMesh::VirtualNode::AwsCloudMapInstanceAttribute',
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::AppMesh::VirtualNode::AwsCloudMapInstanceAttribute',
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::AppMesh::VirtualNode::AwsCloudMapInstanceAttribute')->coerce($_)
Subroutine __ANON__: not called CC=1 SCAR=6.9
62 } @$_
63 ]);
64 1 };
65  
66 1 subtype 'Cfn::Resource::Properties::AWS::AppMesh::VirtualNode::AwsCloudMapInstanceAttribute',
67 as 'Cfn::Value';
68  
69 coerce 'Cfn::Resource::Properties::AWS::AppMesh::VirtualNode::AwsCloudMapInstanceAttribute',
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::AWS::AppMesh::VirtualNode::AwsCloudMapInstanceAttributeValue->new( %$_ );
76 }
77 1 };
78  
79 1 package Cfn::Resource::Properties::AWS::AppMesh::VirtualNode::AwsCloudMapInstanceAttributeValue {
80 1 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
81 1 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
82 1 extends 'Cfn::Value::TypedValue';
83
84 1 has Key => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
85 1 has Value => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
86 }
87  
88 1 subtype 'Cfn::Resource::Properties::AWS::AppMesh::VirtualNode::VirtualServiceBackend',
89 as 'Cfn::Value';
90  
91 coerce 'Cfn::Resource::Properties::AWS::AppMesh::VirtualNode::VirtualServiceBackend',
92 from 'HashRef',
93 via {
94 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
95 0 return $f
96 } else {
97 0 return Cfn::Resource::Properties::AWS::AppMesh::VirtualNode::VirtualServiceBackendValue->new( %$_ );
98 }
99 1 };
100  
101 1 package Cfn::Resource::Properties::AWS::AppMesh::VirtualNode::VirtualServiceBackendValue {
102 1 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
103 1 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
104 1 extends 'Cfn::Value::TypedValue';
105
106 1 has VirtualServiceName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
107 }
108  
109 1 subtype 'Cfn::Resource::Properties::AWS::AppMesh::VirtualNode::PortMapping',
110 as 'Cfn::Value';
111  
112 coerce 'Cfn::Resource::Properties::AWS::AppMesh::VirtualNode::PortMapping',
113 from 'HashRef',
114 via {
115 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
116 0 return $f
117 } else {
118 0 return Cfn::Resource::Properties::AWS::AppMesh::VirtualNode::PortMappingValue->new( %$_ );
119 }
120 1 };
121  
122 1 package Cfn::Resource::Properties::AWS::AppMesh::VirtualNode::PortMappingValue {
123 1 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
124 1 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
125 1 extends 'Cfn::Value::TypedValue';
126
127 1 has Port => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
128 1 has Protocol => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
129 }
130  
131 1 subtype 'Cfn::Resource::Properties::AWS::AppMesh::VirtualNode::HealthCheck',
132 as 'Cfn::Value';
133  
134 coerce 'Cfn::Resource::Properties::AWS::AppMesh::VirtualNode::HealthCheck',
135 from 'HashRef',
136 via {
137 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
138 0 return $f
139 } else {
140 0 return Cfn::Resource::Properties::AWS::AppMesh::VirtualNode::HealthCheckValue->new( %$_ );
141 }
142 1 };
143  
144 1 package Cfn::Resource::Properties::AWS::AppMesh::VirtualNode::HealthCheckValue {
145 1 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
146 1 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
147 1 extends 'Cfn::Value::TypedValue';
148
149 1 has HealthyThreshold => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
150 1 has IntervalMillis => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
151 1 has Path => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
152 1 has Port => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
153 1 has Protocol => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
154 1 has TimeoutMillis => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
155 1 has UnhealthyThreshold => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
156 }
157  
158 1 subtype 'Cfn::Resource::Properties::AWS::AppMesh::VirtualNode::DnsServiceDiscovery',
159 as 'Cfn::Value';
160  
161 coerce 'Cfn::Resource::Properties::AWS::AppMesh::VirtualNode::DnsServiceDiscovery',
162 from 'HashRef',
163 via {
164 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
165 0 return $f
166 } else {
167 0 return Cfn::Resource::Properties::AWS::AppMesh::VirtualNode::DnsServiceDiscoveryValue->new( %$_ );
168 }
169 1 };
170  
171 1 package Cfn::Resource::Properties::AWS::AppMesh::VirtualNode::DnsServiceDiscoveryValue {
172 1 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
173 1 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
174 1 extends 'Cfn::Value::TypedValue';
175
176 1 has Hostname => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
177 }
178  
179 1 subtype 'Cfn::Resource::Properties::AWS::AppMesh::VirtualNode::AwsCloudMapServiceDiscovery',
180 as 'Cfn::Value';
181  
182 coerce 'Cfn::Resource::Properties::AWS::AppMesh::VirtualNode::AwsCloudMapServiceDiscovery',
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 return Cfn::Resource::Properties::AWS::AppMesh::VirtualNode::AwsCloudMapServiceDiscoveryValue->new( %$_ );
189 }
190 1 };
191  
192 1 package Cfn::Resource::Properties::AWS::AppMesh::VirtualNode::AwsCloudMapServiceDiscoveryValue {
193 1 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
194 1 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
195 1 extends 'Cfn::Value::TypedValue';
196
197 1 has Attributes => (isa => 'ArrayOfCfn::Resource::Properties::AWS::AppMesh::VirtualNode::AwsCloudMapInstanceAttribute', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
198 1 has NamespaceName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
199 1 has ServiceName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
200 }
201  
202 1 subtype 'Cfn::Resource::Properties::AWS::AppMesh::VirtualNode::AccessLog',
203 as 'Cfn::Value';
204  
205 coerce 'Cfn::Resource::Properties::AWS::AppMesh::VirtualNode::AccessLog',
206 from 'HashRef',
207 via {
208 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
209 0 return $f
210 } else {
211 0 return Cfn::Resource::Properties::AWS::AppMesh::VirtualNode::AccessLogValue->new( %$_ );
212 }
213 1 };
214  
215 1 package Cfn::Resource::Properties::AWS::AppMesh::VirtualNode::AccessLogValue {
216 1 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
217 1 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
218 1 extends 'Cfn::Value::TypedValue';
219
220 1 has File => (isa => 'Cfn::Resource::Properties::AWS::AppMesh::VirtualNode::FileAccessLog', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
221 }
222  
223 1 subtype 'Cfn::Resource::Properties::AWS::AppMesh::VirtualNode::ServiceDiscovery',
224 as 'Cfn::Value';
225  
226 coerce 'Cfn::Resource::Properties::AWS::AppMesh::VirtualNode::ServiceDiscovery',
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 return Cfn::Resource::Properties::AWS::AppMesh::VirtualNode::ServiceDiscoveryValue->new( %$_ );
233 }
234 1 };
235  
236 1 package Cfn::Resource::Properties::AWS::AppMesh::VirtualNode::ServiceDiscoveryValue {
237 1 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
238 1 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
239 1 extends 'Cfn::Value::TypedValue';
240
241 1 has AWSCloudMap => (isa => 'Cfn::Resource::Properties::AWS::AppMesh::VirtualNode::AwsCloudMapServiceDiscovery', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
242 1 has DNS => (isa => 'Cfn::Resource::Properties::AWS::AppMesh::VirtualNode::DnsServiceDiscovery', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
243 }
244  
245 1 subtype 'Cfn::Resource::Properties::AWS::AppMesh::VirtualNode::Logging',
246 as 'Cfn::Value';
247  
248 coerce 'Cfn::Resource::Properties::AWS::AppMesh::VirtualNode::Logging',
249 from 'HashRef',
250 via {
251 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
252 0 return $f
253 } else {
254 0 return Cfn::Resource::Properties::AWS::AppMesh::VirtualNode::LoggingValue->new( %$_ );
255 }
256 1 };
257  
258 1 package Cfn::Resource::Properties::AWS::AppMesh::VirtualNode::LoggingValue {
259 1 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
260 1 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
261 1 extends 'Cfn::Value::TypedValue';
262
263 1 has AccessLog => (isa => 'Cfn::Resource::Properties::AWS::AppMesh::VirtualNode::AccessLog', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
264 }
265 subtype 'ArrayOfCfn::Resource::Properties::AWS::AppMesh::VirtualNode::Listener',
266 as 'Cfn::Value',
267 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
268 0 ▶message { "$_ is not a Cfn::Value or a Cfn::Value::Function" };
Subroutine __ANON__: not called CC=1 SCAR=1.2
269  
270 coerce 'ArrayOfCfn::Resource::Properties::AWS::AppMesh::VirtualNode::Listener',
271 from 'HashRef',
272 via {
273 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
274 0 return $f
275 } else {
276 0 die 'Only accepts functions';
277 }
278 },
279 from 'ArrayRef',
280 via {
281 Cfn::Value::Array->new(Value => [
282 map {
283 0 ▶ Moose::Util::TypeConstraints::find_type_constraint('Cfn::Resource::Properties::AWS::AppMesh::VirtualNode::Listener')->coerce($_)
Subroutine __ANON__: not called CC=1 SCAR=6.9
284 } @$_
285 ]);
286 1 };
287  
288 1 subtype 'Cfn::Resource::Properties::AWS::AppMesh::VirtualNode::Listener',
289 as 'Cfn::Value';
290  
291 coerce 'Cfn::Resource::Properties::AWS::AppMesh::VirtualNode::Listener',
292 from 'HashRef',
293 via {
294 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
295 0 return $f
296 } else {
297 0 return Cfn::Resource::Properties::AWS::AppMesh::VirtualNode::ListenerValue->new( %$_ );
298 }
299 1 };
300  
301 1 package Cfn::Resource::Properties::AWS::AppMesh::VirtualNode::ListenerValue {
302 1 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
303 1 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
304 1 extends 'Cfn::Value::TypedValue';
305
306 1 has HealthCheck => (isa => 'Cfn::Resource::Properties::AWS::AppMesh::VirtualNode::HealthCheck', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
307 1 has PortMapping => (isa => 'Cfn::Resource::Properties::AWS::AppMesh::VirtualNode::PortMapping', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
308 }
309 subtype 'ArrayOfCfn::Resource::Properties::AWS::AppMesh::VirtualNode::Backend',
310 as 'Cfn::Value',
311 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
312 0 ▶message { "$_ is not a Cfn::Value or a Cfn::Value::Function" };
Subroutine __ANON__: not called CC=1 SCAR=1.2
313  
314 coerce 'ArrayOfCfn::Resource::Properties::AWS::AppMesh::VirtualNode::Backend',
315 from 'HashRef',
316 via {
317 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
318 0 return $f
319 } else {
320 0 die 'Only accepts functions';
321 }
322 },
323 from 'ArrayRef',
324 via {
325 Cfn::Value::Array->new(Value => [
326 map {
327 0 ▶ Moose::Util::TypeConstraints::find_type_constraint('Cfn::Resource::Properties::AWS::AppMesh::VirtualNode::Backend')->coerce($_)
Subroutine __ANON__: not called CC=1 SCAR=6.9
328 } @$_
329 ]);
330 1 };
331  
332 1 subtype 'Cfn::Resource::Properties::AWS::AppMesh::VirtualNode::Backend',
333 as 'Cfn::Value';
334  
335 coerce 'Cfn::Resource::Properties::AWS::AppMesh::VirtualNode::Backend',
336 from 'HashRef',
337 via {
338 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
339 0 return $f
340 } else {
341 0 return Cfn::Resource::Properties::AWS::AppMesh::VirtualNode::BackendValue->new( %$_ );
342 }
343 1 };
344  
345 1 package Cfn::Resource::Properties::AWS::AppMesh::VirtualNode::BackendValue {
346 1 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
347 1 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
348 1 extends 'Cfn::Value::TypedValue';
349
350 1 has VirtualService => (isa => 'Cfn::Resource::Properties::AWS::AppMesh::VirtualNode::VirtualServiceBackend', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
351 }
352  
353 1 subtype 'Cfn::Resource::Properties::AWS::AppMesh::VirtualNode::VirtualNodeSpec',
354 as 'Cfn::Value';
355  
356 coerce 'Cfn::Resource::Properties::AWS::AppMesh::VirtualNode::VirtualNodeSpec',
357 from 'HashRef',
358 via {
359 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
360 0 return $f
361 } else {
362 0 return Cfn::Resource::Properties::AWS::AppMesh::VirtualNode::VirtualNodeSpecValue->new( %$_ );
363 }
364 1 };
365  
366 1 package Cfn::Resource::Properties::AWS::AppMesh::VirtualNode::VirtualNodeSpecValue {
367 1 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
368 1 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
369 1 extends 'Cfn::Value::TypedValue';
370
371 1 has Backends => (isa => 'ArrayOfCfn::Resource::Properties::AWS::AppMesh::VirtualNode::Backend', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
372 1 has Listeners => (isa => 'ArrayOfCfn::Resource::Properties::AWS::AppMesh::VirtualNode::Listener', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
373 1 has Logging => (isa => 'Cfn::Resource::Properties::AWS::AppMesh::VirtualNode::Logging', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
374 1 has ServiceDiscovery => (isa => 'Cfn::Resource::Properties::AWS::AppMesh::VirtualNode::ServiceDiscovery', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
375 }
376  
377 1 package Cfn::Resource::Properties::AWS::AppMesh::VirtualNode {
378 1 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
379 1 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
380 1 extends 'Cfn::Resource::Properties';
381
382 1 has MeshName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
383 1 has Spec => (isa => 'Cfn::Resource::Properties::AWS::AppMesh::VirtualNode::VirtualNodeSpec', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
384 1 has Tags => (isa => 'ArrayOfCfn::Resource::Properties::TagType', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
385 1 has VirtualNodeName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
386 }
387  
388 1 1;
« Cfn/Resource/AWS/CodePipeline/Pipeline.pm ↑ Summary Cfn/Resource/AWS/AutoScalingPlans/ScalingPlan.pm »