File Coverage

blib/lib/Cfn/Resource/AWS/ApplicationInsights/Application.pm
Criterion Covered Total %
statement 86 86 100.0
branch n/a
condition n/a
subroutine 30 30 100.0
pod 0 2 0.0
total 116 118 98.3


line stmt bran cond sub pod time code
1             # AWS::ApplicationInsights::Application generated from spec 20.1.0
2 1     1   865 use Moose::Util::TypeConstraints;
  1         4  
  1         10  
3              
4             coerce 'Cfn::Resource::Properties::AWS::ApplicationInsights::Application',
5             from 'HashRef',
6             via { Cfn::Resource::Properties::AWS::ApplicationInsights::Application->new( %$_ ) };
7              
8             package Cfn::Resource::AWS::ApplicationInsights::Application {
9 1     1   2324 use Moose;
  1         4  
  1         9  
10             extends 'Cfn::Resource';
11             has Properties => (isa => 'Cfn::Resource::Properties::AWS::ApplicationInsights::Application', is => 'rw', coerce => 1);
12            
13             sub AttributeList {
14 1     1 0 4 [ 'ApplicationARN' ]
15             }
16             sub supported_regions {
17 1     1 0 1237 [ 'af-south-1','ap-east-1','ap-northeast-1','ap-northeast-2','ap-south-1','ap-southeast-1','ap-southeast-2','ca-central-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-west-1','us-west-2' ]
18             }
19             }
20              
21              
22             subtype 'ArrayOfCfn::Resource::Properties::AWS::ApplicationInsights::Application::WindowsEvent',
23             as 'Cfn::Value',
24             where { $_->isa('Cfn::Value::Array') or $_->isa('Cfn::Value::Function') },
25             message { "$_ is not a Cfn::Value or a Cfn::Value::Function" };
26              
27             coerce 'ArrayOfCfn::Resource::Properties::AWS::ApplicationInsights::Application::WindowsEvent',
28             from 'HashRef',
29             via {
30             if (my $f = Cfn::TypeLibrary::try_function($_)) {
31             return $f
32             } else {
33             die 'Only accepts functions';
34             }
35             },
36             from 'ArrayRef',
37             via {
38             Cfn::Value::Array->new(Value => [
39             map {
40             Moose::Util::TypeConstraints::find_type_constraint('Cfn::Resource::Properties::AWS::ApplicationInsights::Application::WindowsEvent')->coerce($_)
41             } @$_
42             ]);
43             };
44              
45             subtype 'Cfn::Resource::Properties::AWS::ApplicationInsights::Application::WindowsEvent',
46             as 'Cfn::Value';
47              
48             coerce 'Cfn::Resource::Properties::AWS::ApplicationInsights::Application::WindowsEvent',
49             from 'HashRef',
50             via {
51             if (my $f = Cfn::TypeLibrary::try_function($_)) {
52             return $f
53             } else {
54             return Cfn::Resource::Properties::Object::AWS::ApplicationInsights::Application::WindowsEvent->new( %$_ );
55             }
56             };
57              
58             package Cfn::Resource::Properties::Object::AWS::ApplicationInsights::Application::WindowsEvent {
59 1     1   7995 use Moose;
  1         2  
  1         8  
60 1     1   6762 use MooseX::StrictConstructor;
  1         2  
  1         12  
61             extends 'Cfn::Value::TypedValue';
62            
63             has EventLevels => (isa => 'Cfn::Value::Array|Cfn::Value::Function|Cfn::DynamicValue', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
64             has EventName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
65             has LogGroupName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
66             has PatternSet => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
67             }
68             subtype 'ArrayOfCfn::Resource::Properties::AWS::ApplicationInsights::Application::Log',
69             as 'Cfn::Value',
70             where { $_->isa('Cfn::Value::Array') or $_->isa('Cfn::Value::Function') },
71             message { "$_ is not a Cfn::Value or a Cfn::Value::Function" };
72              
73             coerce 'ArrayOfCfn::Resource::Properties::AWS::ApplicationInsights::Application::Log',
74             from 'HashRef',
75             via {
76             if (my $f = Cfn::TypeLibrary::try_function($_)) {
77             return $f
78             } else {
79             die 'Only accepts functions';
80             }
81             },
82             from 'ArrayRef',
83             via {
84             Cfn::Value::Array->new(Value => [
85             map {
86             Moose::Util::TypeConstraints::find_type_constraint('Cfn::Resource::Properties::AWS::ApplicationInsights::Application::Log')->coerce($_)
87             } @$_
88             ]);
89             };
90              
91             subtype 'Cfn::Resource::Properties::AWS::ApplicationInsights::Application::Log',
92             as 'Cfn::Value';
93              
94             coerce 'Cfn::Resource::Properties::AWS::ApplicationInsights::Application::Log',
95             from 'HashRef',
96             via {
97             if (my $f = Cfn::TypeLibrary::try_function($_)) {
98             return $f
99             } else {
100             return Cfn::Resource::Properties::Object::AWS::ApplicationInsights::Application::Log->new( %$_ );
101             }
102             };
103              
104             package Cfn::Resource::Properties::Object::AWS::ApplicationInsights::Application::Log {
105 1     1   4082 use Moose;
  1         3  
  1         10  
106 1     1   6684 use MooseX::StrictConstructor;
  1         2  
  1         8  
107             extends 'Cfn::Value::TypedValue';
108            
109             has Encoding => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
110             has LogGroupName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
111             has LogPath => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
112             has LogType => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
113             has PatternSet => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
114             }
115             subtype 'ArrayOfCfn::Resource::Properties::AWS::ApplicationInsights::Application::AlarmMetric',
116             as 'Cfn::Value',
117             where { $_->isa('Cfn::Value::Array') or $_->isa('Cfn::Value::Function') },
118             message { "$_ is not a Cfn::Value or a Cfn::Value::Function" };
119              
120             coerce 'ArrayOfCfn::Resource::Properties::AWS::ApplicationInsights::Application::AlarmMetric',
121             from 'HashRef',
122             via {
123             if (my $f = Cfn::TypeLibrary::try_function($_)) {
124             return $f
125             } else {
126             die 'Only accepts functions';
127             }
128             },
129             from 'ArrayRef',
130             via {
131             Cfn::Value::Array->new(Value => [
132             map {
133             Moose::Util::TypeConstraints::find_type_constraint('Cfn::Resource::Properties::AWS::ApplicationInsights::Application::AlarmMetric')->coerce($_)
134             } @$_
135             ]);
136             };
137              
138             subtype 'Cfn::Resource::Properties::AWS::ApplicationInsights::Application::AlarmMetric',
139             as 'Cfn::Value';
140              
141             coerce 'Cfn::Resource::Properties::AWS::ApplicationInsights::Application::AlarmMetric',
142             from 'HashRef',
143             via {
144             if (my $f = Cfn::TypeLibrary::try_function($_)) {
145             return $f
146             } else {
147             return Cfn::Resource::Properties::Object::AWS::ApplicationInsights::Application::AlarmMetric->new( %$_ );
148             }
149             };
150              
151             package Cfn::Resource::Properties::Object::AWS::ApplicationInsights::Application::AlarmMetric {
152 1     1   3689 use Moose;
  1         4  
  1         9  
153 1     1   7224 use MooseX::StrictConstructor;
  1         4  
  1         6  
154             extends 'Cfn::Value::TypedValue';
155            
156             has AlarmMetricName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
157             }
158              
159             subtype 'Cfn::Resource::Properties::AWS::ApplicationInsights::Application::SubComponentConfigurationDetails',
160             as 'Cfn::Value';
161              
162             coerce 'Cfn::Resource::Properties::AWS::ApplicationInsights::Application::SubComponentConfigurationDetails',
163             from 'HashRef',
164             via {
165             if (my $f = Cfn::TypeLibrary::try_function($_)) {
166             return $f
167             } else {
168             return Cfn::Resource::Properties::Object::AWS::ApplicationInsights::Application::SubComponentConfigurationDetails->new( %$_ );
169             }
170             };
171              
172             package Cfn::Resource::Properties::Object::AWS::ApplicationInsights::Application::SubComponentConfigurationDetails {
173 1     1   3764 use Moose;
  1         2  
  1         7  
174 1     1   7397 use MooseX::StrictConstructor;
  1         3  
  1         8  
175             extends 'Cfn::Value::TypedValue';
176            
177             has AlarmMetrics => (isa => 'ArrayOfCfn::Resource::Properties::AWS::ApplicationInsights::Application::AlarmMetric', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
178             has Logs => (isa => 'ArrayOfCfn::Resource::Properties::AWS::ApplicationInsights::Application::Log', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
179             has WindowsEvents => (isa => 'ArrayOfCfn::Resource::Properties::AWS::ApplicationInsights::Application::WindowsEvent', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
180             }
181             subtype 'ArrayOfCfn::Resource::Properties::AWS::ApplicationInsights::Application::Alarm',
182             as 'Cfn::Value',
183             where { $_->isa('Cfn::Value::Array') or $_->isa('Cfn::Value::Function') },
184             message { "$_ is not a Cfn::Value or a Cfn::Value::Function" };
185              
186             coerce 'ArrayOfCfn::Resource::Properties::AWS::ApplicationInsights::Application::Alarm',
187             from 'HashRef',
188             via {
189             if (my $f = Cfn::TypeLibrary::try_function($_)) {
190             return $f
191             } else {
192             die 'Only accepts functions';
193             }
194             },
195             from 'ArrayRef',
196             via {
197             Cfn::Value::Array->new(Value => [
198             map {
199             Moose::Util::TypeConstraints::find_type_constraint('Cfn::Resource::Properties::AWS::ApplicationInsights::Application::Alarm')->coerce($_)
200             } @$_
201             ]);
202             };
203              
204             subtype 'Cfn::Resource::Properties::AWS::ApplicationInsights::Application::Alarm',
205             as 'Cfn::Value';
206              
207             coerce 'Cfn::Resource::Properties::AWS::ApplicationInsights::Application::Alarm',
208             from 'HashRef',
209             via {
210             if (my $f = Cfn::TypeLibrary::try_function($_)) {
211             return $f
212             } else {
213             return Cfn::Resource::Properties::Object::AWS::ApplicationInsights::Application::Alarm->new( %$_ );
214             }
215             };
216              
217             package Cfn::Resource::Properties::Object::AWS::ApplicationInsights::Application::Alarm {
218 1     1   4049 use Moose;
  1         2  
  1         7  
219 1     1   7410 use MooseX::StrictConstructor;
  1         4  
  1         7  
220             extends 'Cfn::Value::TypedValue';
221            
222             has AlarmName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
223             has Severity => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
224             }
225             subtype 'ArrayOfCfn::Resource::Properties::AWS::ApplicationInsights::Application::SubComponentTypeConfiguration',
226             as 'Cfn::Value',
227             where { $_->isa('Cfn::Value::Array') or $_->isa('Cfn::Value::Function') },
228             message { "$_ is not a Cfn::Value or a Cfn::Value::Function" };
229              
230             coerce 'ArrayOfCfn::Resource::Properties::AWS::ApplicationInsights::Application::SubComponentTypeConfiguration',
231             from 'HashRef',
232             via {
233             if (my $f = Cfn::TypeLibrary::try_function($_)) {
234             return $f
235             } else {
236             die 'Only accepts functions';
237             }
238             },
239             from 'ArrayRef',
240             via {
241             Cfn::Value::Array->new(Value => [
242             map {
243             Moose::Util::TypeConstraints::find_type_constraint('Cfn::Resource::Properties::AWS::ApplicationInsights::Application::SubComponentTypeConfiguration')->coerce($_)
244             } @$_
245             ]);
246             };
247              
248             subtype 'Cfn::Resource::Properties::AWS::ApplicationInsights::Application::SubComponentTypeConfiguration',
249             as 'Cfn::Value';
250              
251             coerce 'Cfn::Resource::Properties::AWS::ApplicationInsights::Application::SubComponentTypeConfiguration',
252             from 'HashRef',
253             via {
254             if (my $f = Cfn::TypeLibrary::try_function($_)) {
255             return $f
256             } else {
257             return Cfn::Resource::Properties::Object::AWS::ApplicationInsights::Application::SubComponentTypeConfiguration->new( %$_ );
258             }
259             };
260              
261             package Cfn::Resource::Properties::Object::AWS::ApplicationInsights::Application::SubComponentTypeConfiguration {
262 1     1   4047 use Moose;
  1         3  
  1         9  
263 1     1   7437 use MooseX::StrictConstructor;
  1         3  
  1         8  
264             extends 'Cfn::Value::TypedValue';
265            
266             has SubComponentConfigurationDetails => (isa => 'Cfn::Resource::Properties::AWS::ApplicationInsights::Application::SubComponentConfigurationDetails', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
267             has SubComponentType => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
268             }
269              
270             subtype 'Cfn::Resource::Properties::AWS::ApplicationInsights::Application::ConfigurationDetails',
271             as 'Cfn::Value';
272              
273             coerce 'Cfn::Resource::Properties::AWS::ApplicationInsights::Application::ConfigurationDetails',
274             from 'HashRef',
275             via {
276             if (my $f = Cfn::TypeLibrary::try_function($_)) {
277             return $f
278             } else {
279             return Cfn::Resource::Properties::Object::AWS::ApplicationInsights::Application::ConfigurationDetails->new( %$_ );
280             }
281             };
282              
283             package Cfn::Resource::Properties::Object::AWS::ApplicationInsights::Application::ConfigurationDetails {
284 1     1   3934 use Moose;
  1         3  
  1         6  
285 1     1   7721 use MooseX::StrictConstructor;
  1         4  
  1         10  
286             extends 'Cfn::Value::TypedValue';
287            
288             has AlarmMetrics => (isa => 'ArrayOfCfn::Resource::Properties::AWS::ApplicationInsights::Application::AlarmMetric', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
289             has Alarms => (isa => 'ArrayOfCfn::Resource::Properties::AWS::ApplicationInsights::Application::Alarm', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
290             has Logs => (isa => 'ArrayOfCfn::Resource::Properties::AWS::ApplicationInsights::Application::Log', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
291             has WindowsEvents => (isa => 'ArrayOfCfn::Resource::Properties::AWS::ApplicationInsights::Application::WindowsEvent', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
292             }
293             subtype 'ArrayOfCfn::Resource::Properties::AWS::ApplicationInsights::Application::LogPattern',
294             as 'Cfn::Value',
295             where { $_->isa('Cfn::Value::Array') or $_->isa('Cfn::Value::Function') },
296             message { "$_ is not a Cfn::Value or a Cfn::Value::Function" };
297              
298             coerce 'ArrayOfCfn::Resource::Properties::AWS::ApplicationInsights::Application::LogPattern',
299             from 'HashRef',
300             via {
301             if (my $f = Cfn::TypeLibrary::try_function($_)) {
302             return $f
303             } else {
304             die 'Only accepts functions';
305             }
306             },
307             from 'ArrayRef',
308             via {
309             Cfn::Value::Array->new(Value => [
310             map {
311             Moose::Util::TypeConstraints::find_type_constraint('Cfn::Resource::Properties::AWS::ApplicationInsights::Application::LogPattern')->coerce($_)
312             } @$_
313             ]);
314             };
315              
316             subtype 'Cfn::Resource::Properties::AWS::ApplicationInsights::Application::LogPattern',
317             as 'Cfn::Value';
318              
319             coerce 'Cfn::Resource::Properties::AWS::ApplicationInsights::Application::LogPattern',
320             from 'HashRef',
321             via {
322             if (my $f = Cfn::TypeLibrary::try_function($_)) {
323             return $f
324             } else {
325             return Cfn::Resource::Properties::Object::AWS::ApplicationInsights::Application::LogPattern->new( %$_ );
326             }
327             };
328              
329             package Cfn::Resource::Properties::Object::AWS::ApplicationInsights::Application::LogPattern {
330 1     1   4289 use Moose;
  1         3  
  1         6  
331 1     1   7816 use MooseX::StrictConstructor;
  1         3  
  1         7  
332             extends 'Cfn::Value::TypedValue';
333            
334             has Pattern => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
335             has PatternName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
336             has Rank => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
337             }
338              
339             subtype 'Cfn::Resource::Properties::AWS::ApplicationInsights::Application::ComponentConfiguration',
340             as 'Cfn::Value';
341              
342             coerce 'Cfn::Resource::Properties::AWS::ApplicationInsights::Application::ComponentConfiguration',
343             from 'HashRef',
344             via {
345             if (my $f = Cfn::TypeLibrary::try_function($_)) {
346             return $f
347             } else {
348             return Cfn::Resource::Properties::Object::AWS::ApplicationInsights::Application::ComponentConfiguration->new( %$_ );
349             }
350             };
351              
352             package Cfn::Resource::Properties::Object::AWS::ApplicationInsights::Application::ComponentConfiguration {
353 1     1   3753 use Moose;
  1         3  
  1         6  
354 1     1   6984 use MooseX::StrictConstructor;
  1         4  
  1         8  
355             extends 'Cfn::Value::TypedValue';
356            
357             has ConfigurationDetails => (isa => 'Cfn::Resource::Properties::AWS::ApplicationInsights::Application::ConfigurationDetails', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
358             has SubComponentTypeConfigurations => (isa => 'ArrayOfCfn::Resource::Properties::AWS::ApplicationInsights::Application::SubComponentTypeConfiguration', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
359             }
360             subtype 'ArrayOfCfn::Resource::Properties::AWS::ApplicationInsights::Application::LogPatternSet',
361             as 'Cfn::Value',
362             where { $_->isa('Cfn::Value::Array') or $_->isa('Cfn::Value::Function') },
363             message { "$_ is not a Cfn::Value or a Cfn::Value::Function" };
364              
365             coerce 'ArrayOfCfn::Resource::Properties::AWS::ApplicationInsights::Application::LogPatternSet',
366             from 'HashRef',
367             via {
368             if (my $f = Cfn::TypeLibrary::try_function($_)) {
369             return $f
370             } else {
371             die 'Only accepts functions';
372             }
373             },
374             from 'ArrayRef',
375             via {
376             Cfn::Value::Array->new(Value => [
377             map {
378             Moose::Util::TypeConstraints::find_type_constraint('Cfn::Resource::Properties::AWS::ApplicationInsights::Application::LogPatternSet')->coerce($_)
379             } @$_
380             ]);
381             };
382              
383             subtype 'Cfn::Resource::Properties::AWS::ApplicationInsights::Application::LogPatternSet',
384             as 'Cfn::Value';
385              
386             coerce 'Cfn::Resource::Properties::AWS::ApplicationInsights::Application::LogPatternSet',
387             from 'HashRef',
388             via {
389             if (my $f = Cfn::TypeLibrary::try_function($_)) {
390             return $f
391             } else {
392             return Cfn::Resource::Properties::Object::AWS::ApplicationInsights::Application::LogPatternSet->new( %$_ );
393             }
394             };
395              
396             package Cfn::Resource::Properties::Object::AWS::ApplicationInsights::Application::LogPatternSet {
397 1     1   3931 use Moose;
  1         4  
  1         5  
398 1     1   6953 use MooseX::StrictConstructor;
  1         3  
  1         6  
399             extends 'Cfn::Value::TypedValue';
400            
401             has LogPatterns => (isa => 'ArrayOfCfn::Resource::Properties::AWS::ApplicationInsights::Application::LogPattern', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
402             has PatternSetName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
403             }
404             subtype 'ArrayOfCfn::Resource::Properties::AWS::ApplicationInsights::Application::CustomComponent',
405             as 'Cfn::Value',
406             where { $_->isa('Cfn::Value::Array') or $_->isa('Cfn::Value::Function') },
407             message { "$_ is not a Cfn::Value or a Cfn::Value::Function" };
408              
409             coerce 'ArrayOfCfn::Resource::Properties::AWS::ApplicationInsights::Application::CustomComponent',
410             from 'HashRef',
411             via {
412             if (my $f = Cfn::TypeLibrary::try_function($_)) {
413             return $f
414             } else {
415             die 'Only accepts functions';
416             }
417             },
418             from 'ArrayRef',
419             via {
420             Cfn::Value::Array->new(Value => [
421             map {
422             Moose::Util::TypeConstraints::find_type_constraint('Cfn::Resource::Properties::AWS::ApplicationInsights::Application::CustomComponent')->coerce($_)
423             } @$_
424             ]);
425             };
426              
427             subtype 'Cfn::Resource::Properties::AWS::ApplicationInsights::Application::CustomComponent',
428             as 'Cfn::Value';
429              
430             coerce 'Cfn::Resource::Properties::AWS::ApplicationInsights::Application::CustomComponent',
431             from 'HashRef',
432             via {
433             if (my $f = Cfn::TypeLibrary::try_function($_)) {
434             return $f
435             } else {
436             return Cfn::Resource::Properties::Object::AWS::ApplicationInsights::Application::CustomComponent->new( %$_ );
437             }
438             };
439              
440             package Cfn::Resource::Properties::Object::AWS::ApplicationInsights::Application::CustomComponent {
441 1     1   3987 use Moose;
  1         3  
  1         7  
442 1     1   7462 use MooseX::StrictConstructor;
  1         5  
  1         7  
443             extends 'Cfn::Value::TypedValue';
444            
445             has ComponentName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
446             has ResourceList => (isa => 'Cfn::Value::Array|Cfn::Value::Function|Cfn::DynamicValue', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
447             }
448             subtype 'ArrayOfCfn::Resource::Properties::AWS::ApplicationInsights::Application::ComponentMonitoringSetting',
449             as 'Cfn::Value',
450             where { $_->isa('Cfn::Value::Array') or $_->isa('Cfn::Value::Function') },
451             message { "$_ is not a Cfn::Value or a Cfn::Value::Function" };
452              
453             coerce 'ArrayOfCfn::Resource::Properties::AWS::ApplicationInsights::Application::ComponentMonitoringSetting',
454             from 'HashRef',
455             via {
456             if (my $f = Cfn::TypeLibrary::try_function($_)) {
457             return $f
458             } else {
459             die 'Only accepts functions';
460             }
461             },
462             from 'ArrayRef',
463             via {
464             Cfn::Value::Array->new(Value => [
465             map {
466             Moose::Util::TypeConstraints::find_type_constraint('Cfn::Resource::Properties::AWS::ApplicationInsights::Application::ComponentMonitoringSetting')->coerce($_)
467             } @$_
468             ]);
469             };
470              
471             subtype 'Cfn::Resource::Properties::AWS::ApplicationInsights::Application::ComponentMonitoringSetting',
472             as 'Cfn::Value';
473              
474             coerce 'Cfn::Resource::Properties::AWS::ApplicationInsights::Application::ComponentMonitoringSetting',
475             from 'HashRef',
476             via {
477             if (my $f = Cfn::TypeLibrary::try_function($_)) {
478             return $f
479             } else {
480             return Cfn::Resource::Properties::Object::AWS::ApplicationInsights::Application::ComponentMonitoringSetting->new( %$_ );
481             }
482             };
483              
484             package Cfn::Resource::Properties::Object::AWS::ApplicationInsights::Application::ComponentMonitoringSetting {
485 1     1   4096 use Moose;
  1         2  
  1         7  
486 1     1   7054 use MooseX::StrictConstructor;
  1         4  
  1         7  
487             extends 'Cfn::Value::TypedValue';
488            
489             has ComponentARN => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
490             has ComponentConfigurationMode => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
491             has ComponentName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
492             has CustomComponentConfiguration => (isa => 'Cfn::Resource::Properties::AWS::ApplicationInsights::Application::ComponentConfiguration', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
493             has DefaultOverwriteComponentConfiguration => (isa => 'Cfn::Resource::Properties::AWS::ApplicationInsights::Application::ComponentConfiguration', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
494             has Tier => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
495             }
496              
497             package Cfn::Resource::Properties::AWS::ApplicationInsights::Application {
498 1     1   3453 use Moose;
  1         4  
  1         7  
499 1     1   6813 use MooseX::StrictConstructor;
  1         2  
  1         5  
500             extends 'Cfn::Resource::Properties';
501            
502             has AutoConfigurationEnabled => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
503             has CWEMonitorEnabled => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
504             has ComponentMonitoringSettings => (isa => 'ArrayOfCfn::Resource::Properties::AWS::ApplicationInsights::Application::ComponentMonitoringSetting', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
505             has CustomComponents => (isa => 'ArrayOfCfn::Resource::Properties::AWS::ApplicationInsights::Application::CustomComponent', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
506             has LogPatternSets => (isa => 'ArrayOfCfn::Resource::Properties::AWS::ApplicationInsights::Application::LogPatternSet', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
507             has OpsCenterEnabled => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
508             has OpsItemSNSTopicArn => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
509             has ResourceGroupName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
510             has Tags => (isa => 'ArrayOfCfn::Resource::Properties::TagType', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
511             }
512              
513             1;
514             ### main pod documentation begin ###
515              
516             =encoding UTF-8
517              
518             =head1 NAME
519              
520             Cfn::Resource::AWS::ApplicationInsights::Application - Cfn resource for AWS::ApplicationInsights::Application
521              
522             =head1 DESCRIPTION
523              
524             This module implements a Perl module that represents the CloudFormation object AWS::ApplicationInsights::Application.
525              
526             See L<Cfn> for more information on how to use it.
527              
528             =head1 AUTHOR
529              
530             Jose Luis Martinez
531             CAPSiDE
532             jlmartinez@capside.com
533              
534             =head1 COPYRIGHT and LICENSE
535              
536             Copyright (c) 2013 by CAPSiDE
537             This code is distributed under the Apache 2 License. The full text of the
538             license can be found in the LICENSE file included with this module.
539              
540             =cut