Cfn/Resource/AWS/AppMesh/GatewayRoute.pm untested

filter: Statementstmt 0.0% 0 / 176 Branchbran 0.0% 0 / 18 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 24 Podpod 0.0% 0 / 2 totaltotal 0.0% 0 / 220 CC 1 SCAR 6.9
CC
1
Cov
0%
AttributeList
2.0
supported_regions
2.0
BEGIN
2.0
CRAP 2.0
1 # AWS::AppMesh::GatewayRoute generated from spec 34.0.0
2 use Moose::Util::TypeConstraints;
3  
4 coerce 'Cfn::Resource::Properties::AWS::AppMesh::GatewayRoute',
5 from 'HashRef',
6 via { Cfn::Resource::Properties::AWS::AppMesh::GatewayRoute->new( %$_ ) };
7  
8 package Cfn::Resource::AWS::AppMesh::GatewayRoute {
9 use Moose;
10 extends 'Cfn::Resource';
11 has Properties => (isa => 'Cfn::Resource::Properties::AWS::AppMesh::GatewayRoute', is => 'rw', coerce => 1);
12
13 sub AttributeList {
14 [ 'Arn','GatewayRouteName','MeshName','MeshOwner','ResourceOwner','Uid','VirtualGatewayName' ]
15 }
16 sub supported_regions {
17 [ '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' ]
18 }
19 }
20  
21  
22  
23 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 if (my $f = Cfn::TypeLibrary::try_function($_)) {
30 return $f
31 } else {
32 return Cfn::Resource::Properties::Object::AWS::AppMesh::GatewayRoute::GatewayRouteVirtualService->new( %$_ );
33 }
34 };
35  
36 package Cfn::Resource::Properties::Object::AWS::AppMesh::GatewayRoute::GatewayRouteVirtualService {
37 use Moose;
38 use MooseX::StrictConstructor;
39 extends 'Cfn::Value::TypedValue';
40
41 has VirtualServiceName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
42 }
43  
44 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 if (my $f = Cfn::TypeLibrary::try_function($_)) {
51 return $f
52 } else {
53 return Cfn::Resource::Properties::Object::AWS::AppMesh::GatewayRoute::GatewayRouteTarget->new( %$_ );
54 }
55 };
56  
57 package Cfn::Resource::Properties::Object::AWS::AppMesh::GatewayRoute::GatewayRouteTarget {
58 use Moose;
59 use MooseX::StrictConstructor;
60 extends 'Cfn::Value::TypedValue';
61
62 has VirtualService => (isa => 'Cfn::Resource::Properties::AWS::AppMesh::GatewayRoute::GatewayRouteVirtualService', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
63 }
64  
65 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 if (my $f = Cfn::TypeLibrary::try_function($_)) {
72 return $f
73 } else {
74 return Cfn::Resource::Properties::Object::AWS::AppMesh::GatewayRoute::HttpGatewayRouteMatch->new( %$_ );
75 }
76 };
77  
78 package Cfn::Resource::Properties::Object::AWS::AppMesh::GatewayRoute::HttpGatewayRouteMatch {
79 use Moose;
80 use MooseX::StrictConstructor;
81 extends 'Cfn::Value::TypedValue';
82
83 has Prefix => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
84 }
85  
86 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 if (my $f = Cfn::TypeLibrary::try_function($_)) {
93 return $f
94 } else {
95 return Cfn::Resource::Properties::Object::AWS::AppMesh::GatewayRoute::HttpGatewayRouteAction->new( %$_ );
96 }
97 };
98  
99 package Cfn::Resource::Properties::Object::AWS::AppMesh::GatewayRoute::HttpGatewayRouteAction {
100 use Moose;
101 use MooseX::StrictConstructor;
102 extends 'Cfn::Value::TypedValue';
103
104 has Target => (isa => 'Cfn::Resource::Properties::AWS::AppMesh::GatewayRoute::GatewayRouteTarget', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
105 }
106  
107 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 if (my $f = Cfn::TypeLibrary::try_function($_)) {
114 return $f
115 } else {
116 return Cfn::Resource::Properties::Object::AWS::AppMesh::GatewayRoute::GrpcGatewayRouteMatch->new( %$_ );
117 }
118 };
119  
120 package Cfn::Resource::Properties::Object::AWS::AppMesh::GatewayRoute::GrpcGatewayRouteMatch {
121 use Moose;
122 use MooseX::StrictConstructor;
123 extends 'Cfn::Value::TypedValue';
124
125 has ServiceName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
126 }
127  
128 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 if (my $f = Cfn::TypeLibrary::try_function($_)) {
135 return $f
136 } else {
137 return Cfn::Resource::Properties::Object::AWS::AppMesh::GatewayRoute::GrpcGatewayRouteAction->new( %$_ );
138 }
139 };
140  
141 package Cfn::Resource::Properties::Object::AWS::AppMesh::GatewayRoute::GrpcGatewayRouteAction {
142 use Moose;
143 use MooseX::StrictConstructor;
144 extends 'Cfn::Value::TypedValue';
145
146 has Target => (isa => 'Cfn::Resource::Properties::AWS::AppMesh::GatewayRoute::GatewayRouteTarget', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
147 }
148  
149 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 if (my $f = Cfn::TypeLibrary::try_function($_)) {
156 return $f
157 } else {
158 return Cfn::Resource::Properties::Object::AWS::AppMesh::GatewayRoute::HttpGatewayRoute->new( %$_ );
159 }
160 };
161  
162 package Cfn::Resource::Properties::Object::AWS::AppMesh::GatewayRoute::HttpGatewayRoute {
163 use Moose;
164 use MooseX::StrictConstructor;
165 extends 'Cfn::Value::TypedValue';
166
167 has Action => (isa => 'Cfn::Resource::Properties::AWS::AppMesh::GatewayRoute::HttpGatewayRouteAction', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
168 has Match => (isa => 'Cfn::Resource::Properties::AWS::AppMesh::GatewayRoute::HttpGatewayRouteMatch', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
169 }
170  
171 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 if (my $f = Cfn::TypeLibrary::try_function($_)) {
178 return $f
179 } else {
180 return Cfn::Resource::Properties::Object::AWS::AppMesh::GatewayRoute::GrpcGatewayRoute->new( %$_ );
181 }
182 };
183  
184 package Cfn::Resource::Properties::Object::AWS::AppMesh::GatewayRoute::GrpcGatewayRoute {
185 use Moose;
186 use MooseX::StrictConstructor;
187 extends 'Cfn::Value::TypedValue';
188
189 has Action => (isa => 'Cfn::Resource::Properties::AWS::AppMesh::GatewayRoute::GrpcGatewayRouteAction', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
190 has Match => (isa => 'Cfn::Resource::Properties::AWS::AppMesh::GatewayRoute::GrpcGatewayRouteMatch', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
191 }
192  
193 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 if (my $f = Cfn::TypeLibrary::try_function($_)) {
200 return $f
201 } else {
202 return Cfn::Resource::Properties::Object::AWS::AppMesh::GatewayRoute::GatewayRouteSpec->new( %$_ );
203 }
204 };
205  
206 package Cfn::Resource::Properties::Object::AWS::AppMesh::GatewayRoute::GatewayRouteSpec {
207 use Moose;
208 use MooseX::StrictConstructor;
209 extends 'Cfn::Value::TypedValue';
210
211 has GrpcRoute => (isa => 'Cfn::Resource::Properties::AWS::AppMesh::GatewayRoute::GrpcGatewayRoute', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
212 has Http2Route => (isa => 'Cfn::Resource::Properties::AWS::AppMesh::GatewayRoute::HttpGatewayRoute', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
213 has HttpRoute => (isa => 'Cfn::Resource::Properties::AWS::AppMesh::GatewayRoute::HttpGatewayRoute', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
214 }
215  
216 package Cfn::Resource::Properties::AWS::AppMesh::GatewayRoute {
217 use Moose;
218 use MooseX::StrictConstructor;
219 extends 'Cfn::Resource::Properties';
220
221 has GatewayRouteName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
222 has MeshName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
223 has MeshOwner => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
224 has Spec => (isa => 'Cfn::Resource::Properties::AWS::AppMesh::GatewayRoute::GatewayRouteSpec', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
225 has Tags => (isa => 'ArrayOfCfn::Resource::Properties::TagType', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
226 has VirtualGatewayName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
227 }
228  
229 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