Cfn/Resource/AWS/AppMesh/GatewayRoute.pm

filter: Statementstmt 82.2% 130 / 158 Branchbran 0.0% 0 / 18 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 70.5% 24 / 34 Podpod 0.0% 0 / 2 totaltotal 72.6% 154 / 212 CC 10 SCAR 11.3
CC
10
Cov
74%
__ANON__
6.0
__ANON__
6.0
__ANON__
6.0
CRAP 3.1
« Cfn/Resource/AWS/ApiGateway/Method.pm ↑ Summary Cfn/Resource/AWS/AppSync/DataSource.pm »
1 # AWS::AppMesh::GatewayRoute generated from spec 18.4.0
2 1 ▶use Moose::Util::TypeConstraints;
Subroutine BEGIN: called CC=1 SCAR=0.0
3  
4 coerce 'Cfn::Resource::Properties::AWS::AppMesh::GatewayRoute',
5 from 'HashRef',
6 0 ▶ via { Cfn::Resource::Properties::AWS::AppMesh::GatewayRoute->new( %$_ ) };
Subroutine __ANON__: not called CC=1 SCAR=1.2
7  
8 1 package Cfn::Resource::AWS::AppMesh::GatewayRoute {
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::GatewayRoute', is => 'rw', coerce => 1);
12
13 sub AttributeList {
14 1 ▶ [ 'Arn','GatewayRouteName','MeshName','MeshOwner','ResourceOwner','Uid','VirtualGatewayName' ]
Subroutine AttributeList: called CC=1 SCAR=0.0
Pod undocumented
15 }
16 sub supported_regions {
17 1 ▶ [ 'ap-east-1','ap-northeast-1','ap-northeast-2','ap-south-1','ap-southeast-2','ca-central-1','eu-central-1','eu-north-1','eu-west-1','eu-west-2','eu-west-3','me-south-1','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 1 subtype 'Cfn::Resource::Properties::AWS::AppMesh::GatewayRoute::GatewayRouteVirtualService',
24 as 'Cfn::Value';
25  
26 coerce 'Cfn::Resource::Properties::AWS::AppMesh::GatewayRoute::GatewayRouteVirtualService',
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::AppMesh::GatewayRoute::GatewayRouteVirtualService->new( %$_ );
33 }
34 1 };
35  
36 1 package Cfn::Resource::Properties::Object::AWS::AppMesh::GatewayRoute::GatewayRouteVirtualService {
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 VirtualServiceName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
42 }
43  
44 1 subtype 'Cfn::Resource::Properties::AWS::AppMesh::GatewayRoute::GatewayRouteTarget',
45 as 'Cfn::Value';
46  
47 coerce 'Cfn::Resource::Properties::AWS::AppMesh::GatewayRoute::GatewayRouteTarget',
48 from 'HashRef',
49 via {
50 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
51 0 return $f
52 } else {
53 0 return Cfn::Resource::Properties::Object::AWS::AppMesh::GatewayRoute::GatewayRouteTarget->new( %$_ );
54 }
55 1 };
56  
57 1 package Cfn::Resource::Properties::Object::AWS::AppMesh::GatewayRoute::GatewayRouteTarget {
58 1 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
59 1 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
60 1 extends 'Cfn::Value::TypedValue';
61
62 1 has VirtualService => (isa => 'Cfn::Resource::Properties::AWS::AppMesh::GatewayRoute::GatewayRouteVirtualService', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
63 }
64  
65 1 subtype 'Cfn::Resource::Properties::AWS::AppMesh::GatewayRoute::HttpGatewayRouteMatch',
66 as 'Cfn::Value';
67  
68 coerce 'Cfn::Resource::Properties::AWS::AppMesh::GatewayRoute::HttpGatewayRouteMatch',
69 from 'HashRef',
70 via {
71 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
72 0 return $f
73 } else {
74 0 return Cfn::Resource::Properties::Object::AWS::AppMesh::GatewayRoute::HttpGatewayRouteMatch->new( %$_ );
75 }
76 1 };
77  
78 1 package Cfn::Resource::Properties::Object::AWS::AppMesh::GatewayRoute::HttpGatewayRouteMatch {
79 1 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
80 1 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
81 1 extends 'Cfn::Value::TypedValue';
82
83 1 has Prefix => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
84 }
85  
86 1 subtype 'Cfn::Resource::Properties::AWS::AppMesh::GatewayRoute::HttpGatewayRouteAction',
87 as 'Cfn::Value';
88  
89 coerce 'Cfn::Resource::Properties::AWS::AppMesh::GatewayRoute::HttpGatewayRouteAction',
90 from 'HashRef',
91 via {
92 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
93 0 return $f
94 } else {
95 0 return Cfn::Resource::Properties::Object::AWS::AppMesh::GatewayRoute::HttpGatewayRouteAction->new( %$_ );
96 }
97 1 };
98  
99 1 package Cfn::Resource::Properties::Object::AWS::AppMesh::GatewayRoute::HttpGatewayRouteAction {
100 1 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
101 1 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
102 1 extends 'Cfn::Value::TypedValue';
103
104 1 has Target => (isa => 'Cfn::Resource::Properties::AWS::AppMesh::GatewayRoute::GatewayRouteTarget', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
105 }
106  
107 1 subtype 'Cfn::Resource::Properties::AWS::AppMesh::GatewayRoute::GrpcGatewayRouteMatch',
108 as 'Cfn::Value';
109  
110 coerce 'Cfn::Resource::Properties::AWS::AppMesh::GatewayRoute::GrpcGatewayRouteMatch',
111 from 'HashRef',
112 via {
113 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
114 0 return $f
115 } else {
116 0 return Cfn::Resource::Properties::Object::AWS::AppMesh::GatewayRoute::GrpcGatewayRouteMatch->new( %$_ );
117 }
118 1 };
119  
120 1 package Cfn::Resource::Properties::Object::AWS::AppMesh::GatewayRoute::GrpcGatewayRouteMatch {
121 1 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
122 1 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
123 1 extends 'Cfn::Value::TypedValue';
124
125 1 has ServiceName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
126 }
127  
128 1 subtype 'Cfn::Resource::Properties::AWS::AppMesh::GatewayRoute::GrpcGatewayRouteAction',
129 as 'Cfn::Value';
130  
131 coerce 'Cfn::Resource::Properties::AWS::AppMesh::GatewayRoute::GrpcGatewayRouteAction',
132 from 'HashRef',
133 via {
134 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
135 0 return $f
136 } else {
137 0 return Cfn::Resource::Properties::Object::AWS::AppMesh::GatewayRoute::GrpcGatewayRouteAction->new( %$_ );
138 }
139 1 };
140  
141 1 package Cfn::Resource::Properties::Object::AWS::AppMesh::GatewayRoute::GrpcGatewayRouteAction {
142 1 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
143 1 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
144 1 extends 'Cfn::Value::TypedValue';
145
146 1 has Target => (isa => 'Cfn::Resource::Properties::AWS::AppMesh::GatewayRoute::GatewayRouteTarget', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
147 }
148  
149 1 subtype 'Cfn::Resource::Properties::AWS::AppMesh::GatewayRoute::HttpGatewayRoute',
150 as 'Cfn::Value';
151  
152 coerce 'Cfn::Resource::Properties::AWS::AppMesh::GatewayRoute::HttpGatewayRoute',
153 from 'HashRef',
154 via {
155 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
156 0 return $f
157 } else {
158 0 return Cfn::Resource::Properties::Object::AWS::AppMesh::GatewayRoute::HttpGatewayRoute->new( %$_ );
159 }
160 1 };
161  
162 1 package Cfn::Resource::Properties::Object::AWS::AppMesh::GatewayRoute::HttpGatewayRoute {
163 1 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
164 1 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
165 1 extends 'Cfn::Value::TypedValue';
166
167 1 has Action => (isa => 'Cfn::Resource::Properties::AWS::AppMesh::GatewayRoute::HttpGatewayRouteAction', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
168 1 has Match => (isa => 'Cfn::Resource::Properties::AWS::AppMesh::GatewayRoute::HttpGatewayRouteMatch', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
169 }
170  
171 1 subtype 'Cfn::Resource::Properties::AWS::AppMesh::GatewayRoute::GrpcGatewayRoute',
172 as 'Cfn::Value';
173  
174 coerce 'Cfn::Resource::Properties::AWS::AppMesh::GatewayRoute::GrpcGatewayRoute',
175 from 'HashRef',
176 via {
177 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
178 0 return $f
179 } else {
180 0 return Cfn::Resource::Properties::Object::AWS::AppMesh::GatewayRoute::GrpcGatewayRoute->new( %$_ );
181 }
182 1 };
183  
184 1 package Cfn::Resource::Properties::Object::AWS::AppMesh::GatewayRoute::GrpcGatewayRoute {
185 1 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
186 1 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
187 1 extends 'Cfn::Value::TypedValue';
188
189 1 has Action => (isa => 'Cfn::Resource::Properties::AWS::AppMesh::GatewayRoute::GrpcGatewayRouteAction', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
190 1 has Match => (isa => 'Cfn::Resource::Properties::AWS::AppMesh::GatewayRoute::GrpcGatewayRouteMatch', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
191 }
192  
193 1 subtype 'Cfn::Resource::Properties::AWS::AppMesh::GatewayRoute::GatewayRouteSpec',
194 as 'Cfn::Value';
195  
196 coerce 'Cfn::Resource::Properties::AWS::AppMesh::GatewayRoute::GatewayRouteSpec',
197 from 'HashRef',
198 via {
199 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
200 0 return $f
201 } else {
202 0 return Cfn::Resource::Properties::Object::AWS::AppMesh::GatewayRoute::GatewayRouteSpec->new( %$_ );
203 }
204 1 };
205  
206 1 package Cfn::Resource::Properties::Object::AWS::AppMesh::GatewayRoute::GatewayRouteSpec {
207 1 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
208 1 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
209 1 extends 'Cfn::Value::TypedValue';
210
211 1 has GrpcRoute => (isa => 'Cfn::Resource::Properties::AWS::AppMesh::GatewayRoute::GrpcGatewayRoute', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
212 1 has Http2Route => (isa => 'Cfn::Resource::Properties::AWS::AppMesh::GatewayRoute::HttpGatewayRoute', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
213 1 has HttpRoute => (isa => 'Cfn::Resource::Properties::AWS::AppMesh::GatewayRoute::HttpGatewayRoute', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
214 }
215  
216 1 package Cfn::Resource::Properties::AWS::AppMesh::GatewayRoute {
217 1 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
218 1 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
219 1 extends 'Cfn::Resource::Properties';
220
221 1 has GatewayRouteName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
222 1 has MeshName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
223 1 has MeshOwner => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
224 1 has Spec => (isa => 'Cfn::Resource::Properties::AWS::AppMesh::GatewayRoute::GatewayRouteSpec', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
225 1 has Tags => (isa => 'ArrayOfCfn::Resource::Properties::TagType', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
226 1 has VirtualGatewayName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
227 }
228  
229 1 1;
230 ### main pod documentation begin ###
231  
232 =encoding UTF-8
233  
234 =head1 NAME
235  
236 Cfn::Resource::AWS::AppMesh::GatewayRoute - Cfn resource for AWS::AppMesh::GatewayRoute
237  
238 =head1 DESCRIPTION
239  
240 This module implements a Perl module that represents the CloudFormation object AWS::AppMesh::GatewayRoute.
241  
242 See L<Cfn> for more information on how to use it.
243  
244 =head1 AUTHOR
245  
246 Jose Luis Martinez
247 CAPSiDE
248 jlmartinez@capside.com
249  
250 =head1 COPYRIGHT and LICENSE
251  
252 Copyright (c) 2013 by CAPSiDE
253 This code is distributed under the Apache 2 License. The full text of the
254 license can be found in the LICENSE file included with this module.
255  
256 =cut
« Cfn/Resource/AWS/ApiGateway/Method.pm ↑ Summary Cfn/Resource/AWS/AppSync/DataSource.pm »