File Coverage

blib/lib/Cfn/Resource/AWS/KinesisAnalyticsV2/Application.pm
Criterion Covered Total %
statement 158 158 100.0
branch n/a
condition n/a
subroutine 54 54 100.0
pod 0 2 0.0
total 212 214 99.0


line stmt bran cond sub pod time code
1             # AWS::KinesisAnalyticsV2::Application generated from spec 3.2.0
2 1     1   866 use Moose::Util::TypeConstraints;
  1         4  
  1         11  
3              
4             coerce 'Cfn::Resource::Properties::AWS::KinesisAnalyticsV2::Application',
5             from 'HashRef',
6             via { Cfn::Resource::Properties::AWS::KinesisAnalyticsV2::Application->new( %$_ ) };
7              
8             package Cfn::Resource::AWS::KinesisAnalyticsV2::Application {
9 1     1   2234 use Moose;
  1         3  
  1         10  
10             extends 'Cfn::Resource';
11             has Properties => (isa => 'Cfn::Resource::Properties::AWS::KinesisAnalyticsV2::Application', is => 'rw', coerce => 1);
12            
13             sub AttributeList {
14 1     1 0 5 [ ]
15             }
16             sub supported_regions {
17 1     1 0 1194 [ 'ap-northeast-1','ap-northeast-2','ap-southeast-1','ap-southeast-2','eu-central-1','eu-west-1','eu-west-2','us-east-1','us-east-2','us-west-2' ]
18             }
19             }
20              
21              
22              
23             subtype 'Cfn::Resource::Properties::AWS::KinesisAnalyticsV2::Application::JSONMappingParameters',
24             as 'Cfn::Value';
25              
26             coerce 'Cfn::Resource::Properties::AWS::KinesisAnalyticsV2::Application::JSONMappingParameters',
27             from 'HashRef',
28             via {
29             if (my $f = Cfn::TypeLibrary::try_function($_)) {
30             return $f
31             } else {
32             return Cfn::Resource::Properties::AWS::KinesisAnalyticsV2::Application::JSONMappingParametersValue->new( %$_ );
33             }
34             };
35              
36             package Cfn::Resource::Properties::AWS::KinesisAnalyticsV2::Application::JSONMappingParametersValue {
37 1     1   7391 use Moose;
  1         3  
  1         5  
38 1     1   6747 use MooseX::StrictConstructor;
  1         5  
  1         13  
39             extends 'Cfn::Value::TypedValue';
40            
41             has RecordRowPath => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
42             }
43              
44             subtype 'Cfn::Resource::Properties::AWS::KinesisAnalyticsV2::Application::CSVMappingParameters',
45             as 'Cfn::Value';
46              
47             coerce 'Cfn::Resource::Properties::AWS::KinesisAnalyticsV2::Application::CSVMappingParameters',
48             from 'HashRef',
49             via {
50             if (my $f = Cfn::TypeLibrary::try_function($_)) {
51             return $f
52             } else {
53             return Cfn::Resource::Properties::AWS::KinesisAnalyticsV2::Application::CSVMappingParametersValue->new( %$_ );
54             }
55             };
56              
57             package Cfn::Resource::Properties::AWS::KinesisAnalyticsV2::Application::CSVMappingParametersValue {
58 1     1   3744 use Moose;
  1         4  
  1         6  
59 1     1   6739 use MooseX::StrictConstructor;
  1         2  
  1         6  
60             extends 'Cfn::Value::TypedValue';
61            
62             has RecordColumnDelimiter => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
63             has RecordRowDelimiter => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
64             }
65              
66             subtype 'Cfn::Resource::Properties::AWS::KinesisAnalyticsV2::Application::MappingParameters',
67             as 'Cfn::Value';
68              
69             coerce 'Cfn::Resource::Properties::AWS::KinesisAnalyticsV2::Application::MappingParameters',
70             from 'HashRef',
71             via {
72             if (my $f = Cfn::TypeLibrary::try_function($_)) {
73             return $f
74             } else {
75             return Cfn::Resource::Properties::AWS::KinesisAnalyticsV2::Application::MappingParametersValue->new( %$_ );
76             }
77             };
78              
79             package Cfn::Resource::Properties::AWS::KinesisAnalyticsV2::Application::MappingParametersValue {
80 1     1   3513 use Moose;
  1         4  
  1         8  
81 1     1   6849 use MooseX::StrictConstructor;
  1         4  
  1         8  
82             extends 'Cfn::Value::TypedValue';
83            
84             has CSVMappingParameters => (isa => 'Cfn::Resource::Properties::AWS::KinesisAnalyticsV2::Application::CSVMappingParameters', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
85             has JSONMappingParameters => (isa => 'Cfn::Resource::Properties::AWS::KinesisAnalyticsV2::Application::JSONMappingParameters', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
86             }
87              
88             subtype 'Cfn::Resource::Properties::AWS::KinesisAnalyticsV2::Application::RecordFormat',
89             as 'Cfn::Value';
90              
91             coerce 'Cfn::Resource::Properties::AWS::KinesisAnalyticsV2::Application::RecordFormat',
92             from 'HashRef',
93             via {
94             if (my $f = Cfn::TypeLibrary::try_function($_)) {
95             return $f
96             } else {
97             return Cfn::Resource::Properties::AWS::KinesisAnalyticsV2::Application::RecordFormatValue->new( %$_ );
98             }
99             };
100              
101             package Cfn::Resource::Properties::AWS::KinesisAnalyticsV2::Application::RecordFormatValue {
102 1     1   3598 use Moose;
  1         3  
  1         8  
103 1     1   6890 use MooseX::StrictConstructor;
  1         3  
  1         7  
104             extends 'Cfn::Value::TypedValue';
105            
106             has MappingParameters => (isa => 'Cfn::Resource::Properties::AWS::KinesisAnalyticsV2::Application::MappingParameters', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
107             has RecordFormatType => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
108             }
109             subtype 'ArrayOfCfn::Resource::Properties::AWS::KinesisAnalyticsV2::Application::RecordColumn',
110             as 'Cfn::Value',
111             where { $_->isa('Cfn::Value::Array') or $_->isa('Cfn::Value::Function') },
112             message { "$_ is not a Cfn::Value or a Cfn::Value::Function" };
113              
114             coerce 'ArrayOfCfn::Resource::Properties::AWS::KinesisAnalyticsV2::Application::RecordColumn',
115             from 'HashRef',
116             via {
117             if (my $f = Cfn::TypeLibrary::try_function($_)) {
118             return $f
119             } else {
120             die 'Only accepts functions';
121             }
122             },
123             from 'ArrayRef',
124             via {
125             Cfn::Value::Array->new(Value => [
126             map {
127             Moose::Util::TypeConstraints::find_type_constraint('Cfn::Resource::Properties::AWS::KinesisAnalyticsV2::Application::RecordColumn')->coerce($_)
128             } @$_
129             ]);
130             };
131              
132             subtype 'Cfn::Resource::Properties::AWS::KinesisAnalyticsV2::Application::RecordColumn',
133             as 'Cfn::Value';
134              
135             coerce 'Cfn::Resource::Properties::AWS::KinesisAnalyticsV2::Application::RecordColumn',
136             from 'HashRef',
137             via {
138             if (my $f = Cfn::TypeLibrary::try_function($_)) {
139             return $f
140             } else {
141             return Cfn::Resource::Properties::AWS::KinesisAnalyticsV2::Application::RecordColumnValue->new( %$_ );
142             }
143             };
144              
145             package Cfn::Resource::Properties::AWS::KinesisAnalyticsV2::Application::RecordColumnValue {
146 1     1   3912 use Moose;
  1         4  
  1         6  
147 1     1   6979 use MooseX::StrictConstructor;
  1         3  
  1         6  
148             extends 'Cfn::Value::TypedValue';
149            
150             has Mapping => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
151             has Name => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
152             has SqlType => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
153             }
154              
155             subtype 'Cfn::Resource::Properties::AWS::KinesisAnalyticsV2::Application::InputLambdaProcessor',
156             as 'Cfn::Value';
157              
158             coerce 'Cfn::Resource::Properties::AWS::KinesisAnalyticsV2::Application::InputLambdaProcessor',
159             from 'HashRef',
160             via {
161             if (my $f = Cfn::TypeLibrary::try_function($_)) {
162             return $f
163             } else {
164             return Cfn::Resource::Properties::AWS::KinesisAnalyticsV2::Application::InputLambdaProcessorValue->new( %$_ );
165             }
166             };
167              
168             package Cfn::Resource::Properties::AWS::KinesisAnalyticsV2::Application::InputLambdaProcessorValue {
169 1     1   3503 use Moose;
  1         4  
  1         7  
170 1     1   6792 use MooseX::StrictConstructor;
  1         3  
  1         7  
171             extends 'Cfn::Value::TypedValue';
172            
173             has ResourceARN => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
174             }
175              
176             subtype 'Cfn::Resource::Properties::AWS::KinesisAnalyticsV2::Application::S3ContentLocation',
177             as 'Cfn::Value';
178              
179             coerce 'Cfn::Resource::Properties::AWS::KinesisAnalyticsV2::Application::S3ContentLocation',
180             from 'HashRef',
181             via {
182             if (my $f = Cfn::TypeLibrary::try_function($_)) {
183             return $f
184             } else {
185             return Cfn::Resource::Properties::AWS::KinesisAnalyticsV2::Application::S3ContentLocationValue->new( %$_ );
186             }
187             };
188              
189             package Cfn::Resource::Properties::AWS::KinesisAnalyticsV2::Application::S3ContentLocationValue {
190 1     1   3797 use Moose;
  1         3  
  1         7  
191 1     1   7695 use MooseX::StrictConstructor;
  1         4  
  1         9  
192             extends 'Cfn::Value::TypedValue';
193            
194             has BucketARN => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
195             has FileKey => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
196             has ObjectVersion => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
197             }
198              
199             subtype 'Cfn::Resource::Properties::AWS::KinesisAnalyticsV2::Application::KinesisStreamsInput',
200             as 'Cfn::Value';
201              
202             coerce 'Cfn::Resource::Properties::AWS::KinesisAnalyticsV2::Application::KinesisStreamsInput',
203             from 'HashRef',
204             via {
205             if (my $f = Cfn::TypeLibrary::try_function($_)) {
206             return $f
207             } else {
208             return Cfn::Resource::Properties::AWS::KinesisAnalyticsV2::Application::KinesisStreamsInputValue->new( %$_ );
209             }
210             };
211              
212             package Cfn::Resource::Properties::AWS::KinesisAnalyticsV2::Application::KinesisStreamsInputValue {
213 1     1   3852 use Moose;
  1         4  
  1         6  
214 1     1   7360 use MooseX::StrictConstructor;
  1         2  
  1         8  
215             extends 'Cfn::Value::TypedValue';
216            
217             has ResourceARN => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
218             }
219              
220             subtype 'Cfn::Resource::Properties::AWS::KinesisAnalyticsV2::Application::KinesisFirehoseInput',
221             as 'Cfn::Value';
222              
223             coerce 'Cfn::Resource::Properties::AWS::KinesisAnalyticsV2::Application::KinesisFirehoseInput',
224             from 'HashRef',
225             via {
226             if (my $f = Cfn::TypeLibrary::try_function($_)) {
227             return $f
228             } else {
229             return Cfn::Resource::Properties::AWS::KinesisAnalyticsV2::Application::KinesisFirehoseInputValue->new( %$_ );
230             }
231             };
232              
233             package Cfn::Resource::Properties::AWS::KinesisAnalyticsV2::Application::KinesisFirehoseInputValue {
234 1     1   3840 use Moose;
  1         3  
  1         7  
235 1     1   7009 use MooseX::StrictConstructor;
  1         3  
  1         5  
236             extends 'Cfn::Value::TypedValue';
237            
238             has ResourceARN => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
239             }
240              
241             subtype 'Cfn::Resource::Properties::AWS::KinesisAnalyticsV2::Application::InputSchema',
242             as 'Cfn::Value';
243              
244             coerce 'Cfn::Resource::Properties::AWS::KinesisAnalyticsV2::Application::InputSchema',
245             from 'HashRef',
246             via {
247             if (my $f = Cfn::TypeLibrary::try_function($_)) {
248             return $f
249             } else {
250             return Cfn::Resource::Properties::AWS::KinesisAnalyticsV2::Application::InputSchemaValue->new( %$_ );
251             }
252             };
253              
254             package Cfn::Resource::Properties::AWS::KinesisAnalyticsV2::Application::InputSchemaValue {
255 1     1   3514 use Moose;
  1         3  
  1         6  
256 1     1   6687 use MooseX::StrictConstructor;
  1         2  
  1         7  
257             extends 'Cfn::Value::TypedValue';
258            
259             has RecordColumns => (isa => 'ArrayOfCfn::Resource::Properties::AWS::KinesisAnalyticsV2::Application::RecordColumn', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
260             has RecordEncoding => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
261             has RecordFormat => (isa => 'Cfn::Resource::Properties::AWS::KinesisAnalyticsV2::Application::RecordFormat', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
262             }
263              
264             subtype 'Cfn::Resource::Properties::AWS::KinesisAnalyticsV2::Application::InputProcessingConfiguration',
265             as 'Cfn::Value';
266              
267             coerce 'Cfn::Resource::Properties::AWS::KinesisAnalyticsV2::Application::InputProcessingConfiguration',
268             from 'HashRef',
269             via {
270             if (my $f = Cfn::TypeLibrary::try_function($_)) {
271             return $f
272             } else {
273             return Cfn::Resource::Properties::AWS::KinesisAnalyticsV2::Application::InputProcessingConfigurationValue->new( %$_ );
274             }
275             };
276              
277             package Cfn::Resource::Properties::AWS::KinesisAnalyticsV2::Application::InputProcessingConfigurationValue {
278 1     1   3566 use Moose;
  1         3  
  1         7  
279 1     1   6777 use MooseX::StrictConstructor;
  1         2  
  1         6  
280             extends 'Cfn::Value::TypedValue';
281            
282             has InputLambdaProcessor => (isa => 'Cfn::Resource::Properties::AWS::KinesisAnalyticsV2::Application::InputLambdaProcessor', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
283             }
284              
285             subtype 'Cfn::Resource::Properties::AWS::KinesisAnalyticsV2::Application::InputParallelism',
286             as 'Cfn::Value';
287              
288             coerce 'Cfn::Resource::Properties::AWS::KinesisAnalyticsV2::Application::InputParallelism',
289             from 'HashRef',
290             via {
291             if (my $f = Cfn::TypeLibrary::try_function($_)) {
292             return $f
293             } else {
294             return Cfn::Resource::Properties::AWS::KinesisAnalyticsV2::Application::InputParallelismValue->new( %$_ );
295             }
296             };
297              
298             package Cfn::Resource::Properties::AWS::KinesisAnalyticsV2::Application::InputParallelismValue {
299 1     1   3351 use Moose;
  1         3  
  1         6  
300 1     1   6548 use MooseX::StrictConstructor;
  1         6  
  1         6  
301             extends 'Cfn::Value::TypedValue';
302            
303             has Count => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
304             }
305             subtype 'ArrayOfCfn::Resource::Properties::AWS::KinesisAnalyticsV2::Application::PropertyGroup',
306             as 'Cfn::Value',
307             where { $_->isa('Cfn::Value::Array') or $_->isa('Cfn::Value::Function') },
308             message { "$_ is not a Cfn::Value or a Cfn::Value::Function" };
309              
310             coerce 'ArrayOfCfn::Resource::Properties::AWS::KinesisAnalyticsV2::Application::PropertyGroup',
311             from 'HashRef',
312             via {
313             if (my $f = Cfn::TypeLibrary::try_function($_)) {
314             return $f
315             } else {
316             die 'Only accepts functions';
317             }
318             },
319             from 'ArrayRef',
320             via {
321             Cfn::Value::Array->new(Value => [
322             map {
323             Moose::Util::TypeConstraints::find_type_constraint('Cfn::Resource::Properties::AWS::KinesisAnalyticsV2::Application::PropertyGroup')->coerce($_)
324             } @$_
325             ]);
326             };
327              
328             subtype 'Cfn::Resource::Properties::AWS::KinesisAnalyticsV2::Application::PropertyGroup',
329             as 'Cfn::Value';
330              
331             coerce 'Cfn::Resource::Properties::AWS::KinesisAnalyticsV2::Application::PropertyGroup',
332             from 'HashRef',
333             via {
334             if (my $f = Cfn::TypeLibrary::try_function($_)) {
335             return $f
336             } else {
337             return Cfn::Resource::Properties::AWS::KinesisAnalyticsV2::Application::PropertyGroupValue->new( %$_ );
338             }
339             };
340              
341             package Cfn::Resource::Properties::AWS::KinesisAnalyticsV2::Application::PropertyGroupValue {
342 1     1   3589 use Moose;
  1         3  
  1         7  
343 1     1   6550 use MooseX::StrictConstructor;
  1         5  
  1         6  
344             extends 'Cfn::Value::TypedValue';
345            
346             has PropertyGroupId => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
347             has PropertyMap => (isa => 'Cfn::Value::Json|Cfn::DynamicValue', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
348             }
349              
350             subtype 'Cfn::Resource::Properties::AWS::KinesisAnalyticsV2::Application::ParallelismConfiguration',
351             as 'Cfn::Value';
352              
353             coerce 'Cfn::Resource::Properties::AWS::KinesisAnalyticsV2::Application::ParallelismConfiguration',
354             from 'HashRef',
355             via {
356             if (my $f = Cfn::TypeLibrary::try_function($_)) {
357             return $f
358             } else {
359             return Cfn::Resource::Properties::AWS::KinesisAnalyticsV2::Application::ParallelismConfigurationValue->new( %$_ );
360             }
361             };
362              
363             package Cfn::Resource::Properties::AWS::KinesisAnalyticsV2::Application::ParallelismConfigurationValue {
364 1     1   3341 use Moose;
  1         4  
  1         6  
365 1     1   6538 use MooseX::StrictConstructor;
  1         4  
  1         6  
366             extends 'Cfn::Value::TypedValue';
367            
368             has AutoScalingEnabled => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
369             has ConfigurationType => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
370             has Parallelism => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
371             has ParallelismPerKPU => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
372             }
373              
374             subtype 'Cfn::Resource::Properties::AWS::KinesisAnalyticsV2::Application::MonitoringConfiguration',
375             as 'Cfn::Value';
376              
377             coerce 'Cfn::Resource::Properties::AWS::KinesisAnalyticsV2::Application::MonitoringConfiguration',
378             from 'HashRef',
379             via {
380             if (my $f = Cfn::TypeLibrary::try_function($_)) {
381             return $f
382             } else {
383             return Cfn::Resource::Properties::AWS::KinesisAnalyticsV2::Application::MonitoringConfigurationValue->new( %$_ );
384             }
385             };
386              
387             package Cfn::Resource::Properties::AWS::KinesisAnalyticsV2::Application::MonitoringConfigurationValue {
388 1     1   3443 use Moose;
  1         3  
  1         5  
389 1     1   6577 use MooseX::StrictConstructor;
  1         3  
  1         8  
390             extends 'Cfn::Value::TypedValue';
391            
392             has ConfigurationType => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
393             has LogLevel => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
394             has MetricsLevel => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
395             }
396             subtype 'ArrayOfCfn::Resource::Properties::AWS::KinesisAnalyticsV2::Application::Input',
397             as 'Cfn::Value',
398             where { $_->isa('Cfn::Value::Array') or $_->isa('Cfn::Value::Function') },
399             message { "$_ is not a Cfn::Value or a Cfn::Value::Function" };
400              
401             coerce 'ArrayOfCfn::Resource::Properties::AWS::KinesisAnalyticsV2::Application::Input',
402             from 'HashRef',
403             via {
404             if (my $f = Cfn::TypeLibrary::try_function($_)) {
405             return $f
406             } else {
407             die 'Only accepts functions';
408             }
409             },
410             from 'ArrayRef',
411             via {
412             Cfn::Value::Array->new(Value => [
413             map {
414             Moose::Util::TypeConstraints::find_type_constraint('Cfn::Resource::Properties::AWS::KinesisAnalyticsV2::Application::Input')->coerce($_)
415             } @$_
416             ]);
417             };
418              
419             subtype 'Cfn::Resource::Properties::AWS::KinesisAnalyticsV2::Application::Input',
420             as 'Cfn::Value';
421              
422             coerce 'Cfn::Resource::Properties::AWS::KinesisAnalyticsV2::Application::Input',
423             from 'HashRef',
424             via {
425             if (my $f = Cfn::TypeLibrary::try_function($_)) {
426             return $f
427             } else {
428             return Cfn::Resource::Properties::AWS::KinesisAnalyticsV2::Application::InputValue->new( %$_ );
429             }
430             };
431              
432             package Cfn::Resource::Properties::AWS::KinesisAnalyticsV2::Application::InputValue {
433 1     1   3553 use Moose;
  1         4  
  1         7  
434 1     1   6562 use MooseX::StrictConstructor;
  1         2  
  1         5  
435             extends 'Cfn::Value::TypedValue';
436            
437             has InputParallelism => (isa => 'Cfn::Resource::Properties::AWS::KinesisAnalyticsV2::Application::InputParallelism', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
438             has InputProcessingConfiguration => (isa => 'Cfn::Resource::Properties::AWS::KinesisAnalyticsV2::Application::InputProcessingConfiguration', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
439             has InputSchema => (isa => 'Cfn::Resource::Properties::AWS::KinesisAnalyticsV2::Application::InputSchema', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
440             has KinesisFirehoseInput => (isa => 'Cfn::Resource::Properties::AWS::KinesisAnalyticsV2::Application::KinesisFirehoseInput', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
441             has KinesisStreamsInput => (isa => 'Cfn::Resource::Properties::AWS::KinesisAnalyticsV2::Application::KinesisStreamsInput', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
442             has NamePrefix => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
443             }
444              
445             subtype 'Cfn::Resource::Properties::AWS::KinesisAnalyticsV2::Application::CodeContent',
446             as 'Cfn::Value';
447              
448             coerce 'Cfn::Resource::Properties::AWS::KinesisAnalyticsV2::Application::CodeContent',
449             from 'HashRef',
450             via {
451             if (my $f = Cfn::TypeLibrary::try_function($_)) {
452             return $f
453             } else {
454             return Cfn::Resource::Properties::AWS::KinesisAnalyticsV2::Application::CodeContentValue->new( %$_ );
455             }
456             };
457              
458             package Cfn::Resource::Properties::AWS::KinesisAnalyticsV2::Application::CodeContentValue {
459 1     1   3498 use Moose;
  1         2  
  1         7  
460 1     1   6493 use MooseX::StrictConstructor;
  1         3  
  1         6  
461             extends 'Cfn::Value::TypedValue';
462            
463             has S3ContentLocation => (isa => 'Cfn::Resource::Properties::AWS::KinesisAnalyticsV2::Application::S3ContentLocation', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
464             has TextContent => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
465             has ZipFileContent => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
466             }
467              
468             subtype 'Cfn::Resource::Properties::AWS::KinesisAnalyticsV2::Application::CheckpointConfiguration',
469             as 'Cfn::Value';
470              
471             coerce 'Cfn::Resource::Properties::AWS::KinesisAnalyticsV2::Application::CheckpointConfiguration',
472             from 'HashRef',
473             via {
474             if (my $f = Cfn::TypeLibrary::try_function($_)) {
475             return $f
476             } else {
477             return Cfn::Resource::Properties::AWS::KinesisAnalyticsV2::Application::CheckpointConfigurationValue->new( %$_ );
478             }
479             };
480              
481             package Cfn::Resource::Properties::AWS::KinesisAnalyticsV2::Application::CheckpointConfigurationValue {
482 1     1   3385 use Moose;
  1         5  
  1         5  
483 1     1   6531 use MooseX::StrictConstructor;
  1         3  
  1         4  
484             extends 'Cfn::Value::TypedValue';
485            
486             has CheckpointingEnabled => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
487             has CheckpointInterval => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
488             has ConfigurationType => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
489             has MinPauseBetweenCheckpoints => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
490             }
491              
492             subtype 'Cfn::Resource::Properties::AWS::KinesisAnalyticsV2::Application::SqlApplicationConfiguration',
493             as 'Cfn::Value';
494              
495             coerce 'Cfn::Resource::Properties::AWS::KinesisAnalyticsV2::Application::SqlApplicationConfiguration',
496             from 'HashRef',
497             via {
498             if (my $f = Cfn::TypeLibrary::try_function($_)) {
499             return $f
500             } else {
501             return Cfn::Resource::Properties::AWS::KinesisAnalyticsV2::Application::SqlApplicationConfigurationValue->new( %$_ );
502             }
503             };
504              
505             package Cfn::Resource::Properties::AWS::KinesisAnalyticsV2::Application::SqlApplicationConfigurationValue {
506 1     1   3405 use Moose;
  1         4  
  1         5  
507 1     1   6907 use MooseX::StrictConstructor;
  1         3  
  1         4  
508             extends 'Cfn::Value::TypedValue';
509            
510             has Inputs => (isa => 'ArrayOfCfn::Resource::Properties::AWS::KinesisAnalyticsV2::Application::Input', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
511             }
512              
513             subtype 'Cfn::Resource::Properties::AWS::KinesisAnalyticsV2::Application::FlinkApplicationConfiguration',
514             as 'Cfn::Value';
515              
516             coerce 'Cfn::Resource::Properties::AWS::KinesisAnalyticsV2::Application::FlinkApplicationConfiguration',
517             from 'HashRef',
518             via {
519             if (my $f = Cfn::TypeLibrary::try_function($_)) {
520             return $f
521             } else {
522             return Cfn::Resource::Properties::AWS::KinesisAnalyticsV2::Application::FlinkApplicationConfigurationValue->new( %$_ );
523             }
524             };
525              
526             package Cfn::Resource::Properties::AWS::KinesisAnalyticsV2::Application::FlinkApplicationConfigurationValue {
527 1     1   3373 use Moose;
  1         2  
  1         7  
528 1     1   6591 use MooseX::StrictConstructor;
  1         3  
  1         5  
529             extends 'Cfn::Value::TypedValue';
530            
531             has CheckpointConfiguration => (isa => 'Cfn::Resource::Properties::AWS::KinesisAnalyticsV2::Application::CheckpointConfiguration', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
532             has MonitoringConfiguration => (isa => 'Cfn::Resource::Properties::AWS::KinesisAnalyticsV2::Application::MonitoringConfiguration', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
533             has ParallelismConfiguration => (isa => 'Cfn::Resource::Properties::AWS::KinesisAnalyticsV2::Application::ParallelismConfiguration', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
534             }
535              
536             subtype 'Cfn::Resource::Properties::AWS::KinesisAnalyticsV2::Application::EnvironmentProperties',
537             as 'Cfn::Value';
538              
539             coerce 'Cfn::Resource::Properties::AWS::KinesisAnalyticsV2::Application::EnvironmentProperties',
540             from 'HashRef',
541             via {
542             if (my $f = Cfn::TypeLibrary::try_function($_)) {
543             return $f
544             } else {
545             return Cfn::Resource::Properties::AWS::KinesisAnalyticsV2::Application::EnvironmentPropertiesValue->new( %$_ );
546             }
547             };
548              
549             package Cfn::Resource::Properties::AWS::KinesisAnalyticsV2::Application::EnvironmentPropertiesValue {
550 1     1   3380 use Moose;
  1         2  
  1         7  
551 1     1   6592 use MooseX::StrictConstructor;
  1         4  
  1         6  
552             extends 'Cfn::Value::TypedValue';
553            
554             has PropertyGroups => (isa => 'ArrayOfCfn::Resource::Properties::AWS::KinesisAnalyticsV2::Application::PropertyGroup', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
555             }
556              
557             subtype 'Cfn::Resource::Properties::AWS::KinesisAnalyticsV2::Application::ApplicationSnapshotConfiguration',
558             as 'Cfn::Value';
559              
560             coerce 'Cfn::Resource::Properties::AWS::KinesisAnalyticsV2::Application::ApplicationSnapshotConfiguration',
561             from 'HashRef',
562             via {
563             if (my $f = Cfn::TypeLibrary::try_function($_)) {
564             return $f
565             } else {
566             return Cfn::Resource::Properties::AWS::KinesisAnalyticsV2::Application::ApplicationSnapshotConfigurationValue->new( %$_ );
567             }
568             };
569              
570             package Cfn::Resource::Properties::AWS::KinesisAnalyticsV2::Application::ApplicationSnapshotConfigurationValue {
571 1     1   3340 use Moose;
  1         3  
  1         7  
572 1     1   6604 use MooseX::StrictConstructor;
  1         3  
  1         5  
573             extends 'Cfn::Value::TypedValue';
574            
575             has SnapshotsEnabled => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
576             }
577              
578             subtype 'Cfn::Resource::Properties::AWS::KinesisAnalyticsV2::Application::ApplicationCodeConfiguration',
579             as 'Cfn::Value';
580              
581             coerce 'Cfn::Resource::Properties::AWS::KinesisAnalyticsV2::Application::ApplicationCodeConfiguration',
582             from 'HashRef',
583             via {
584             if (my $f = Cfn::TypeLibrary::try_function($_)) {
585             return $f
586             } else {
587             return Cfn::Resource::Properties::AWS::KinesisAnalyticsV2::Application::ApplicationCodeConfigurationValue->new( %$_ );
588             }
589             };
590              
591             package Cfn::Resource::Properties::AWS::KinesisAnalyticsV2::Application::ApplicationCodeConfigurationValue {
592 1     1   3383 use Moose;
  1         2  
  1         6  
593 1     1   7074 use MooseX::StrictConstructor;
  1         4  
  1         9  
594             extends 'Cfn::Value::TypedValue';
595            
596             has CodeContent => (isa => 'Cfn::Resource::Properties::AWS::KinesisAnalyticsV2::Application::CodeContent', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
597             has CodeContentType => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
598             }
599              
600             subtype 'Cfn::Resource::Properties::AWS::KinesisAnalyticsV2::Application::ApplicationConfiguration',
601             as 'Cfn::Value';
602              
603             coerce 'Cfn::Resource::Properties::AWS::KinesisAnalyticsV2::Application::ApplicationConfiguration',
604             from 'HashRef',
605             via {
606             if (my $f = Cfn::TypeLibrary::try_function($_)) {
607             return $f
608             } else {
609             return Cfn::Resource::Properties::AWS::KinesisAnalyticsV2::Application::ApplicationConfigurationValue->new( %$_ );
610             }
611             };
612              
613             package Cfn::Resource::Properties::AWS::KinesisAnalyticsV2::Application::ApplicationConfigurationValue {
614 1     1   3667 use Moose;
  1         3  
  1         7  
615 1     1   6768 use MooseX::StrictConstructor;
  1         3  
  1         5  
616             extends 'Cfn::Value::TypedValue';
617            
618             has ApplicationCodeConfiguration => (isa => 'Cfn::Resource::Properties::AWS::KinesisAnalyticsV2::Application::ApplicationCodeConfiguration', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
619             has ApplicationSnapshotConfiguration => (isa => 'Cfn::Resource::Properties::AWS::KinesisAnalyticsV2::Application::ApplicationSnapshotConfiguration', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
620             has EnvironmentProperties => (isa => 'Cfn::Resource::Properties::AWS::KinesisAnalyticsV2::Application::EnvironmentProperties', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
621             has FlinkApplicationConfiguration => (isa => 'Cfn::Resource::Properties::AWS::KinesisAnalyticsV2::Application::FlinkApplicationConfiguration', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
622             has SqlApplicationConfiguration => (isa => 'Cfn::Resource::Properties::AWS::KinesisAnalyticsV2::Application::SqlApplicationConfiguration', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
623             }
624              
625             package Cfn::Resource::Properties::AWS::KinesisAnalyticsV2::Application {
626 1     1   3335 use Moose;
  1         3  
  1         8  
627 1     1   6653 use MooseX::StrictConstructor;
  1         6  
  1         7  
628             extends 'Cfn::Resource::Properties';
629            
630             has ApplicationConfiguration => (isa => 'Cfn::Resource::Properties::AWS::KinesisAnalyticsV2::Application::ApplicationConfiguration', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
631             has ApplicationDescription => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
632             has ApplicationName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
633             has RuntimeEnvironment => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
634             has ServiceExecutionRole => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
635             }
636              
637             1;