File Coverage

blib/lib/Cfn/Resource/AWS/CodeDeploy/DeploymentGroup.pm
Criterion Covered Total %
statement 122 122 100.0
branch n/a
condition n/a
subroutine 42 42 100.0
pod 0 2 0.0
total 164 166 98.8


line stmt bran cond sub pod time code
1             # AWS::CodeDeploy::DeploymentGroup generated from spec 5.3.0
2 2     2   1656 use Moose::Util::TypeConstraints;
  2         6  
  2         23  
3              
4             coerce 'Cfn::Resource::Properties::AWS::CodeDeploy::DeploymentGroup',
5             from 'HashRef',
6             via { Cfn::Resource::Properties::AWS::CodeDeploy::DeploymentGroup->new( %$_ ) };
7              
8             package Cfn::Resource::AWS::CodeDeploy::DeploymentGroup {
9 2     2   4902 use Moose;
  2         6  
  2         17  
10             extends 'Cfn::Resource';
11             has Properties => (isa => 'Cfn::Resource::Properties::AWS::CodeDeploy::DeploymentGroup', is => 'rw', coerce => 1);
12            
13             sub AttributeList {
14 1     1 0 6 [ ]
15             }
16             sub supported_regions {
17 1     1 0 1082 [ 'ap-east-1','ap-northeast-1','ap-northeast-2','ap-northeast-3','ap-south-1','ap-southeast-1','ap-southeast-2','ca-central-1','cn-north-1','cn-northwest-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-gov-east-1','us-gov-west-1','us-west-1','us-west-2' ]
18             }
19             }
20              
21              
22             subtype 'ArrayOfCfn::Resource::Properties::AWS::CodeDeploy::DeploymentGroup::TagFilter',
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::CodeDeploy::DeploymentGroup::TagFilter',
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::CodeDeploy::DeploymentGroup::TagFilter')->coerce($_)
41             } @$_
42             ]);
43             };
44              
45             subtype 'Cfn::Resource::Properties::AWS::CodeDeploy::DeploymentGroup::TagFilter',
46             as 'Cfn::Value';
47              
48             coerce 'Cfn::Resource::Properties::AWS::CodeDeploy::DeploymentGroup::TagFilter',
49             from 'HashRef',
50             via {
51             if (my $f = Cfn::TypeLibrary::try_function($_)) {
52             return $f
53             } else {
54             return Cfn::Resource::Properties::AWS::CodeDeploy::DeploymentGroup::TagFilterValue->new( %$_ );
55             }
56             };
57              
58             package Cfn::Resource::Properties::AWS::CodeDeploy::DeploymentGroup::TagFilterValue {
59 2     2   16329 use Moose;
  2         7  
  2         12  
60 2     2   13683 use MooseX::StrictConstructor;
  2         7  
  2         18  
61             extends 'Cfn::Value::TypedValue';
62            
63             has Key => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
64             has Type => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
65             has Value => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
66             }
67              
68             subtype 'Cfn::Resource::Properties::AWS::CodeDeploy::DeploymentGroup::S3Location',
69             as 'Cfn::Value';
70              
71             coerce 'Cfn::Resource::Properties::AWS::CodeDeploy::DeploymentGroup::S3Location',
72             from 'HashRef',
73             via {
74             if (my $f = Cfn::TypeLibrary::try_function($_)) {
75             return $f
76             } else {
77             return Cfn::Resource::Properties::AWS::CodeDeploy::DeploymentGroup::S3LocationValue->new( %$_ );
78             }
79             };
80              
81             package Cfn::Resource::Properties::AWS::CodeDeploy::DeploymentGroup::S3LocationValue {
82 2     2   7065 use Moose;
  2         7  
  2         13  
83 2     2   13302 use MooseX::StrictConstructor;
  2         6  
  2         12  
84             extends 'Cfn::Value::TypedValue';
85            
86             has Bucket => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
87             has BundleType => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
88             has ETag => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
89             has Key => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
90             has Version => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
91             }
92              
93             subtype 'Cfn::Resource::Properties::AWS::CodeDeploy::DeploymentGroup::GitHubLocation',
94             as 'Cfn::Value';
95              
96             coerce 'Cfn::Resource::Properties::AWS::CodeDeploy::DeploymentGroup::GitHubLocation',
97             from 'HashRef',
98             via {
99             if (my $f = Cfn::TypeLibrary::try_function($_)) {
100             return $f
101             } else {
102             return Cfn::Resource::Properties::AWS::CodeDeploy::DeploymentGroup::GitHubLocationValue->new( %$_ );
103             }
104             };
105              
106             package Cfn::Resource::Properties::AWS::CodeDeploy::DeploymentGroup::GitHubLocationValue {
107 2     2   7025 use Moose;
  2         6  
  2         13  
108 2     2   13625 use MooseX::StrictConstructor;
  2         7  
  2         12  
109             extends 'Cfn::Value::TypedValue';
110            
111             has CommitId => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
112             has Repository => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
113             }
114             subtype 'ArrayOfCfn::Resource::Properties::AWS::CodeDeploy::DeploymentGroup::EC2TagFilter',
115             as 'Cfn::Value',
116             where { $_->isa('Cfn::Value::Array') or $_->isa('Cfn::Value::Function') },
117             message { "$_ is not a Cfn::Value or a Cfn::Value::Function" };
118              
119             coerce 'ArrayOfCfn::Resource::Properties::AWS::CodeDeploy::DeploymentGroup::EC2TagFilter',
120             from 'HashRef',
121             via {
122             if (my $f = Cfn::TypeLibrary::try_function($_)) {
123             return $f
124             } else {
125             die 'Only accepts functions';
126             }
127             },
128             from 'ArrayRef',
129             via {
130             Cfn::Value::Array->new(Value => [
131             map {
132             Moose::Util::TypeConstraints::find_type_constraint('Cfn::Resource::Properties::AWS::CodeDeploy::DeploymentGroup::EC2TagFilter')->coerce($_)
133             } @$_
134             ]);
135             };
136              
137             subtype 'Cfn::Resource::Properties::AWS::CodeDeploy::DeploymentGroup::EC2TagFilter',
138             as 'Cfn::Value';
139              
140             coerce 'Cfn::Resource::Properties::AWS::CodeDeploy::DeploymentGroup::EC2TagFilter',
141             from 'HashRef',
142             via {
143             if (my $f = Cfn::TypeLibrary::try_function($_)) {
144             return $f
145             } else {
146             return Cfn::Resource::Properties::AWS::CodeDeploy::DeploymentGroup::EC2TagFilterValue->new( %$_ );
147             }
148             };
149              
150             package Cfn::Resource::Properties::AWS::CodeDeploy::DeploymentGroup::EC2TagFilterValue {
151 2     2   7321 use Moose;
  2         7  
  2         12  
152 2     2   13133 use MooseX::StrictConstructor;
  2         5  
  2         11  
153             extends 'Cfn::Value::TypedValue';
154            
155             has Key => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
156             has Type => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
157             has Value => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
158             }
159             subtype 'ArrayOfCfn::Resource::Properties::AWS::CodeDeploy::DeploymentGroup::TargetGroupInfo',
160             as 'Cfn::Value',
161             where { $_->isa('Cfn::Value::Array') or $_->isa('Cfn::Value::Function') },
162             message { "$_ is not a Cfn::Value or a Cfn::Value::Function" };
163              
164             coerce 'ArrayOfCfn::Resource::Properties::AWS::CodeDeploy::DeploymentGroup::TargetGroupInfo',
165             from 'HashRef',
166             via {
167             if (my $f = Cfn::TypeLibrary::try_function($_)) {
168             return $f
169             } else {
170             die 'Only accepts functions';
171             }
172             },
173             from 'ArrayRef',
174             via {
175             Cfn::Value::Array->new(Value => [
176             map {
177             Moose::Util::TypeConstraints::find_type_constraint('Cfn::Resource::Properties::AWS::CodeDeploy::DeploymentGroup::TargetGroupInfo')->coerce($_)
178             } @$_
179             ]);
180             };
181              
182             subtype 'Cfn::Resource::Properties::AWS::CodeDeploy::DeploymentGroup::TargetGroupInfo',
183             as 'Cfn::Value';
184              
185             coerce 'Cfn::Resource::Properties::AWS::CodeDeploy::DeploymentGroup::TargetGroupInfo',
186             from 'HashRef',
187             via {
188             if (my $f = Cfn::TypeLibrary::try_function($_)) {
189             return $f
190             } else {
191             return Cfn::Resource::Properties::AWS::CodeDeploy::DeploymentGroup::TargetGroupInfoValue->new( %$_ );
192             }
193             };
194              
195             package Cfn::Resource::Properties::AWS::CodeDeploy::DeploymentGroup::TargetGroupInfoValue {
196 2     2   7076 use Moose;
  2         11  
  2         12  
197 2     2   13084 use MooseX::StrictConstructor;
  2         4  
  2         13  
198             extends 'Cfn::Value::TypedValue';
199            
200             has Name => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
201             }
202              
203             subtype 'Cfn::Resource::Properties::AWS::CodeDeploy::DeploymentGroup::RevisionLocation',
204             as 'Cfn::Value';
205              
206             coerce 'Cfn::Resource::Properties::AWS::CodeDeploy::DeploymentGroup::RevisionLocation',
207             from 'HashRef',
208             via {
209             if (my $f = Cfn::TypeLibrary::try_function($_)) {
210             return $f
211             } else {
212             return Cfn::Resource::Properties::AWS::CodeDeploy::DeploymentGroup::RevisionLocationValue->new( %$_ );
213             }
214             };
215              
216             package Cfn::Resource::Properties::AWS::CodeDeploy::DeploymentGroup::RevisionLocationValue {
217 2     2   6817 use Moose;
  2         6  
  2         11  
218 2     2   13042 use MooseX::StrictConstructor;
  2         5  
  2         12  
219             extends 'Cfn::Value::TypedValue';
220            
221             has GitHubLocation => (isa => 'Cfn::Resource::Properties::AWS::CodeDeploy::DeploymentGroup::GitHubLocation', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
222             has RevisionType => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
223             has S3Location => (isa => 'Cfn::Resource::Properties::AWS::CodeDeploy::DeploymentGroup::S3Location', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
224             }
225             subtype 'ArrayOfCfn::Resource::Properties::AWS::CodeDeploy::DeploymentGroup::OnPremisesTagSetListObject',
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::CodeDeploy::DeploymentGroup::OnPremisesTagSetListObject',
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::CodeDeploy::DeploymentGroup::OnPremisesTagSetListObject')->coerce($_)
244             } @$_
245             ]);
246             };
247              
248             subtype 'Cfn::Resource::Properties::AWS::CodeDeploy::DeploymentGroup::OnPremisesTagSetListObject',
249             as 'Cfn::Value';
250              
251             coerce 'Cfn::Resource::Properties::AWS::CodeDeploy::DeploymentGroup::OnPremisesTagSetListObject',
252             from 'HashRef',
253             via {
254             if (my $f = Cfn::TypeLibrary::try_function($_)) {
255             return $f
256             } else {
257             return Cfn::Resource::Properties::AWS::CodeDeploy::DeploymentGroup::OnPremisesTagSetListObjectValue->new( %$_ );
258             }
259             };
260              
261             package Cfn::Resource::Properties::AWS::CodeDeploy::DeploymentGroup::OnPremisesTagSetListObjectValue {
262 2     2   7157 use Moose;
  2         5  
  2         12  
263 2     2   13411 use MooseX::StrictConstructor;
  2         6  
  2         9  
264             extends 'Cfn::Value::TypedValue';
265            
266             has OnPremisesTagGroup => (isa => 'ArrayOfCfn::Resource::Properties::AWS::CodeDeploy::DeploymentGroup::TagFilter', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
267             }
268             subtype 'ArrayOfCfn::Resource::Properties::AWS::CodeDeploy::DeploymentGroup::ELBInfo',
269             as 'Cfn::Value',
270             where { $_->isa('Cfn::Value::Array') or $_->isa('Cfn::Value::Function') },
271             message { "$_ is not a Cfn::Value or a Cfn::Value::Function" };
272              
273             coerce 'ArrayOfCfn::Resource::Properties::AWS::CodeDeploy::DeploymentGroup::ELBInfo',
274             from 'HashRef',
275             via {
276             if (my $f = Cfn::TypeLibrary::try_function($_)) {
277             return $f
278             } else {
279             die 'Only accepts functions';
280             }
281             },
282             from 'ArrayRef',
283             via {
284             Cfn::Value::Array->new(Value => [
285             map {
286             Moose::Util::TypeConstraints::find_type_constraint('Cfn::Resource::Properties::AWS::CodeDeploy::DeploymentGroup::ELBInfo')->coerce($_)
287             } @$_
288             ]);
289             };
290              
291             subtype 'Cfn::Resource::Properties::AWS::CodeDeploy::DeploymentGroup::ELBInfo',
292             as 'Cfn::Value';
293              
294             coerce 'Cfn::Resource::Properties::AWS::CodeDeploy::DeploymentGroup::ELBInfo',
295             from 'HashRef',
296             via {
297             if (my $f = Cfn::TypeLibrary::try_function($_)) {
298             return $f
299             } else {
300             return Cfn::Resource::Properties::AWS::CodeDeploy::DeploymentGroup::ELBInfoValue->new( %$_ );
301             }
302             };
303              
304             package Cfn::Resource::Properties::AWS::CodeDeploy::DeploymentGroup::ELBInfoValue {
305 2     2   7020 use Moose;
  2         6  
  2         26  
306 2     2   12912 use MooseX::StrictConstructor;
  2         5  
  2         12  
307             extends 'Cfn::Value::TypedValue';
308            
309             has Name => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
310             }
311             subtype 'ArrayOfCfn::Resource::Properties::AWS::CodeDeploy::DeploymentGroup::EC2TagSetListObject',
312             as 'Cfn::Value',
313             where { $_->isa('Cfn::Value::Array') or $_->isa('Cfn::Value::Function') },
314             message { "$_ is not a Cfn::Value or a Cfn::Value::Function" };
315              
316             coerce 'ArrayOfCfn::Resource::Properties::AWS::CodeDeploy::DeploymentGroup::EC2TagSetListObject',
317             from 'HashRef',
318             via {
319             if (my $f = Cfn::TypeLibrary::try_function($_)) {
320             return $f
321             } else {
322             die 'Only accepts functions';
323             }
324             },
325             from 'ArrayRef',
326             via {
327             Cfn::Value::Array->new(Value => [
328             map {
329             Moose::Util::TypeConstraints::find_type_constraint('Cfn::Resource::Properties::AWS::CodeDeploy::DeploymentGroup::EC2TagSetListObject')->coerce($_)
330             } @$_
331             ]);
332             };
333              
334             subtype 'Cfn::Resource::Properties::AWS::CodeDeploy::DeploymentGroup::EC2TagSetListObject',
335             as 'Cfn::Value';
336              
337             coerce 'Cfn::Resource::Properties::AWS::CodeDeploy::DeploymentGroup::EC2TagSetListObject',
338             from 'HashRef',
339             via {
340             if (my $f = Cfn::TypeLibrary::try_function($_)) {
341             return $f
342             } else {
343             return Cfn::Resource::Properties::AWS::CodeDeploy::DeploymentGroup::EC2TagSetListObjectValue->new( %$_ );
344             }
345             };
346              
347             package Cfn::Resource::Properties::AWS::CodeDeploy::DeploymentGroup::EC2TagSetListObjectValue {
348 2     2   7060 use Moose;
  2         6  
  2         14  
349 2     2   13080 use MooseX::StrictConstructor;
  2         5  
  2         11  
350             extends 'Cfn::Value::TypedValue';
351            
352             has Ec2TagGroup => (isa => 'ArrayOfCfn::Resource::Properties::AWS::CodeDeploy::DeploymentGroup::EC2TagFilter', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
353             }
354             subtype 'ArrayOfCfn::Resource::Properties::AWS::CodeDeploy::DeploymentGroup::Alarm',
355             as 'Cfn::Value',
356             where { $_->isa('Cfn::Value::Array') or $_->isa('Cfn::Value::Function') },
357             message { "$_ is not a Cfn::Value or a Cfn::Value::Function" };
358              
359             coerce 'ArrayOfCfn::Resource::Properties::AWS::CodeDeploy::DeploymentGroup::Alarm',
360             from 'HashRef',
361             via {
362             if (my $f = Cfn::TypeLibrary::try_function($_)) {
363             return $f
364             } else {
365             die 'Only accepts functions';
366             }
367             },
368             from 'ArrayRef',
369             via {
370             Cfn::Value::Array->new(Value => [
371             map {
372             Moose::Util::TypeConstraints::find_type_constraint('Cfn::Resource::Properties::AWS::CodeDeploy::DeploymentGroup::Alarm')->coerce($_)
373             } @$_
374             ]);
375             };
376              
377             subtype 'Cfn::Resource::Properties::AWS::CodeDeploy::DeploymentGroup::Alarm',
378             as 'Cfn::Value';
379              
380             coerce 'Cfn::Resource::Properties::AWS::CodeDeploy::DeploymentGroup::Alarm',
381             from 'HashRef',
382             via {
383             if (my $f = Cfn::TypeLibrary::try_function($_)) {
384             return $f
385             } else {
386             return Cfn::Resource::Properties::AWS::CodeDeploy::DeploymentGroup::AlarmValue->new( %$_ );
387             }
388             };
389              
390             package Cfn::Resource::Properties::AWS::CodeDeploy::DeploymentGroup::AlarmValue {
391 2     2   7033 use Moose;
  2         9  
  2         10  
392 2     2   13011 use MooseX::StrictConstructor;
  2         5  
  2         10  
393             extends 'Cfn::Value::TypedValue';
394            
395             has Name => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
396             }
397             subtype 'ArrayOfCfn::Resource::Properties::AWS::CodeDeploy::DeploymentGroup::TriggerConfig',
398             as 'Cfn::Value',
399             where { $_->isa('Cfn::Value::Array') or $_->isa('Cfn::Value::Function') },
400             message { "$_ is not a Cfn::Value or a Cfn::Value::Function" };
401              
402             coerce 'ArrayOfCfn::Resource::Properties::AWS::CodeDeploy::DeploymentGroup::TriggerConfig',
403             from 'HashRef',
404             via {
405             if (my $f = Cfn::TypeLibrary::try_function($_)) {
406             return $f
407             } else {
408             die 'Only accepts functions';
409             }
410             },
411             from 'ArrayRef',
412             via {
413             Cfn::Value::Array->new(Value => [
414             map {
415             Moose::Util::TypeConstraints::find_type_constraint('Cfn::Resource::Properties::AWS::CodeDeploy::DeploymentGroup::TriggerConfig')->coerce($_)
416             } @$_
417             ]);
418             };
419              
420             subtype 'Cfn::Resource::Properties::AWS::CodeDeploy::DeploymentGroup::TriggerConfig',
421             as 'Cfn::Value';
422              
423             coerce 'Cfn::Resource::Properties::AWS::CodeDeploy::DeploymentGroup::TriggerConfig',
424             from 'HashRef',
425             via {
426             if (my $f = Cfn::TypeLibrary::try_function($_)) {
427             return $f
428             } else {
429             return Cfn::Resource::Properties::AWS::CodeDeploy::DeploymentGroup::TriggerConfigValue->new( %$_ );
430             }
431             };
432              
433             package Cfn::Resource::Properties::AWS::CodeDeploy::DeploymentGroup::TriggerConfigValue {
434 2     2   7061 use Moose;
  2         6  
  2         11  
435 2     2   13366 use MooseX::StrictConstructor;
  2         6  
  2         11  
436             extends 'Cfn::Value::TypedValue';
437            
438             has TriggerEvents => (isa => 'Cfn::Value::Array|Cfn::Value::Function|Cfn::DynamicValue', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
439             has TriggerName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
440             has TriggerTargetArn => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
441             }
442              
443             subtype 'Cfn::Resource::Properties::AWS::CodeDeploy::DeploymentGroup::OnPremisesTagSet',
444             as 'Cfn::Value';
445              
446             coerce 'Cfn::Resource::Properties::AWS::CodeDeploy::DeploymentGroup::OnPremisesTagSet',
447             from 'HashRef',
448             via {
449             if (my $f = Cfn::TypeLibrary::try_function($_)) {
450             return $f
451             } else {
452             return Cfn::Resource::Properties::AWS::CodeDeploy::DeploymentGroup::OnPremisesTagSetValue->new( %$_ );
453             }
454             };
455              
456             package Cfn::Resource::Properties::AWS::CodeDeploy::DeploymentGroup::OnPremisesTagSetValue {
457 2     2   6710 use Moose;
  2         5  
  2         11  
458 2     2   12974 use MooseX::StrictConstructor;
  2         4  
  2         11  
459             extends 'Cfn::Value::TypedValue';
460            
461             has OnPremisesTagSetList => (isa => 'ArrayOfCfn::Resource::Properties::AWS::CodeDeploy::DeploymentGroup::OnPremisesTagSetListObject', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
462             }
463              
464             subtype 'Cfn::Resource::Properties::AWS::CodeDeploy::DeploymentGroup::LoadBalancerInfo',
465             as 'Cfn::Value';
466              
467             coerce 'Cfn::Resource::Properties::AWS::CodeDeploy::DeploymentGroup::LoadBalancerInfo',
468             from 'HashRef',
469             via {
470             if (my $f = Cfn::TypeLibrary::try_function($_)) {
471             return $f
472             } else {
473             return Cfn::Resource::Properties::AWS::CodeDeploy::DeploymentGroup::LoadBalancerInfoValue->new( %$_ );
474             }
475             };
476              
477             package Cfn::Resource::Properties::AWS::CodeDeploy::DeploymentGroup::LoadBalancerInfoValue {
478 2     2   6667 use Moose;
  2         6  
  2         11  
479 2     2   13049 use MooseX::StrictConstructor;
  2         5  
  2         10  
480             extends 'Cfn::Value::TypedValue';
481            
482             has ElbInfoList => (isa => 'ArrayOfCfn::Resource::Properties::AWS::CodeDeploy::DeploymentGroup::ELBInfo', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
483             has TargetGroupInfoList => (isa => 'ArrayOfCfn::Resource::Properties::AWS::CodeDeploy::DeploymentGroup::TargetGroupInfo', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
484             }
485              
486             subtype 'Cfn::Resource::Properties::AWS::CodeDeploy::DeploymentGroup::EC2TagSet',
487             as 'Cfn::Value';
488              
489             coerce 'Cfn::Resource::Properties::AWS::CodeDeploy::DeploymentGroup::EC2TagSet',
490             from 'HashRef',
491             via {
492             if (my $f = Cfn::TypeLibrary::try_function($_)) {
493             return $f
494             } else {
495             return Cfn::Resource::Properties::AWS::CodeDeploy::DeploymentGroup::EC2TagSetValue->new( %$_ );
496             }
497             };
498              
499             package Cfn::Resource::Properties::AWS::CodeDeploy::DeploymentGroup::EC2TagSetValue {
500 2     2   6761 use Moose;
  2         5  
  2         36  
501 2     2   13373 use MooseX::StrictConstructor;
  2         5  
  2         10  
502             extends 'Cfn::Value::TypedValue';
503            
504             has Ec2TagSetList => (isa => 'ArrayOfCfn::Resource::Properties::AWS::CodeDeploy::DeploymentGroup::EC2TagSetListObject', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
505             }
506              
507             subtype 'Cfn::Resource::Properties::AWS::CodeDeploy::DeploymentGroup::DeploymentStyle',
508             as 'Cfn::Value';
509              
510             coerce 'Cfn::Resource::Properties::AWS::CodeDeploy::DeploymentGroup::DeploymentStyle',
511             from 'HashRef',
512             via {
513             if (my $f = Cfn::TypeLibrary::try_function($_)) {
514             return $f
515             } else {
516             return Cfn::Resource::Properties::AWS::CodeDeploy::DeploymentGroup::DeploymentStyleValue->new( %$_ );
517             }
518             };
519              
520             package Cfn::Resource::Properties::AWS::CodeDeploy::DeploymentGroup::DeploymentStyleValue {
521 2     2   6969 use Moose;
  2         7  
  2         13  
522 2     2   13391 use MooseX::StrictConstructor;
  2         6  
  2         12  
523             extends 'Cfn::Value::TypedValue';
524            
525             has DeploymentOption => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
526             has DeploymentType => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
527             }
528              
529             subtype 'Cfn::Resource::Properties::AWS::CodeDeploy::DeploymentGroup::Deployment',
530             as 'Cfn::Value';
531              
532             coerce 'Cfn::Resource::Properties::AWS::CodeDeploy::DeploymentGroup::Deployment',
533             from 'HashRef',
534             via {
535             if (my $f = Cfn::TypeLibrary::try_function($_)) {
536             return $f
537             } else {
538             return Cfn::Resource::Properties::AWS::CodeDeploy::DeploymentGroup::DeploymentValue->new( %$_ );
539             }
540             };
541              
542             package Cfn::Resource::Properties::AWS::CodeDeploy::DeploymentGroup::DeploymentValue {
543 2     2   6796 use Moose;
  2         7  
  2         13  
544 2     2   13024 use MooseX::StrictConstructor;
  2         5  
  2         9  
545             extends 'Cfn::Value::TypedValue';
546            
547             has Description => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
548             has IgnoreApplicationStopFailures => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
549             has Revision => (isa => 'Cfn::Resource::Properties::AWS::CodeDeploy::DeploymentGroup::RevisionLocation', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
550             }
551              
552             subtype 'Cfn::Resource::Properties::AWS::CodeDeploy::DeploymentGroup::AutoRollbackConfiguration',
553             as 'Cfn::Value';
554              
555             coerce 'Cfn::Resource::Properties::AWS::CodeDeploy::DeploymentGroup::AutoRollbackConfiguration',
556             from 'HashRef',
557             via {
558             if (my $f = Cfn::TypeLibrary::try_function($_)) {
559             return $f
560             } else {
561             return Cfn::Resource::Properties::AWS::CodeDeploy::DeploymentGroup::AutoRollbackConfigurationValue->new( %$_ );
562             }
563             };
564              
565             package Cfn::Resource::Properties::AWS::CodeDeploy::DeploymentGroup::AutoRollbackConfigurationValue {
566 2     2   6844 use Moose;
  2         7  
  2         12  
567 2     2   13077 use MooseX::StrictConstructor;
  2         5  
  2         12  
568             extends 'Cfn::Value::TypedValue';
569            
570             has Enabled => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
571             has Events => (isa => 'Cfn::Value::Array|Cfn::Value::Function|Cfn::DynamicValue', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
572             }
573              
574             subtype 'Cfn::Resource::Properties::AWS::CodeDeploy::DeploymentGroup::AlarmConfiguration',
575             as 'Cfn::Value';
576              
577             coerce 'Cfn::Resource::Properties::AWS::CodeDeploy::DeploymentGroup::AlarmConfiguration',
578             from 'HashRef',
579             via {
580             if (my $f = Cfn::TypeLibrary::try_function($_)) {
581             return $f
582             } else {
583             return Cfn::Resource::Properties::AWS::CodeDeploy::DeploymentGroup::AlarmConfigurationValue->new( %$_ );
584             }
585             };
586              
587             package Cfn::Resource::Properties::AWS::CodeDeploy::DeploymentGroup::AlarmConfigurationValue {
588 2     2   6845 use Moose;
  2         9  
  2         13  
589 2     2   13106 use MooseX::StrictConstructor;
  2         5  
  2         12  
590             extends 'Cfn::Value::TypedValue';
591            
592             has Alarms => (isa => 'ArrayOfCfn::Resource::Properties::AWS::CodeDeploy::DeploymentGroup::Alarm', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
593             has Enabled => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
594             has IgnorePollAlarmFailure => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
595             }
596              
597             package Cfn::Resource::Properties::AWS::CodeDeploy::DeploymentGroup {
598 2     2   6702 use Moose;
  2         4  
  2         13  
599 2     2   13350 use MooseX::StrictConstructor;
  2         6  
  2         9  
600             extends 'Cfn::Resource::Properties';
601            
602             has AlarmConfiguration => (isa => 'Cfn::Resource::Properties::AWS::CodeDeploy::DeploymentGroup::AlarmConfiguration', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
603             has ApplicationName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
604             has AutoRollbackConfiguration => (isa => 'Cfn::Resource::Properties::AWS::CodeDeploy::DeploymentGroup::AutoRollbackConfiguration', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
605             has AutoScalingGroups => (isa => 'Cfn::Value::Array|Cfn::Value::Function|Cfn::DynamicValue', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
606             has Deployment => (isa => 'Cfn::Resource::Properties::AWS::CodeDeploy::DeploymentGroup::Deployment', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
607             has DeploymentConfigName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
608             has DeploymentGroupName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
609             has DeploymentStyle => (isa => 'Cfn::Resource::Properties::AWS::CodeDeploy::DeploymentGroup::DeploymentStyle', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
610             has Ec2TagFilters => (isa => 'ArrayOfCfn::Resource::Properties::AWS::CodeDeploy::DeploymentGroup::EC2TagFilter', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
611             has Ec2TagSet => (isa => 'Cfn::Resource::Properties::AWS::CodeDeploy::DeploymentGroup::EC2TagSet', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
612             has LoadBalancerInfo => (isa => 'Cfn::Resource::Properties::AWS::CodeDeploy::DeploymentGroup::LoadBalancerInfo', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
613             has OnPremisesInstanceTagFilters => (isa => 'ArrayOfCfn::Resource::Properties::AWS::CodeDeploy::DeploymentGroup::TagFilter', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
614             has OnPremisesTagSet => (isa => 'Cfn::Resource::Properties::AWS::CodeDeploy::DeploymentGroup::OnPremisesTagSet', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
615             has ServiceRoleArn => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
616             has TriggerConfigurations => (isa => 'ArrayOfCfn::Resource::Properties::AWS::CodeDeploy::DeploymentGroup::TriggerConfig', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
617             }
618              
619             1;