Cfn/Resource/AWS/DLM/LifecyclePolicy.pm untested

filter: Statementstmt 0.0% 0 / 376 Branchbran 0.0% 0 / 38 Conditioncond 0.0% 0 / 15 MC/DCmcdc 0.0% 0 / 10 Subroutinesub 0.0% 0 / 34 Podpod 0.0% 0 / 2 totaltotal 0.0% 0 / 475 CC 1 SCAR 6.9
CC
1
Cov
0%
AttributeList
2.0
supported_regions
2.0
BEGIN
2.0
CRAP 2.0
1 # AWS::DLM::LifecyclePolicy generated from spec 34.0.0
2 use Moose::Util::TypeConstraints;
3  
4 coerce 'Cfn::Resource::Properties::AWS::DLM::LifecyclePolicy',
5 from 'HashRef',
6 via { Cfn::Resource::Properties::AWS::DLM::LifecyclePolicy->new( %$_ ) };
7  
8 package Cfn::Resource::AWS::DLM::LifecyclePolicy {
9 use Moose;
10 extends 'Cfn::Resource';
11 has Properties => (isa => 'Cfn::Resource::Properties::AWS::DLM::LifecyclePolicy', is => 'rw', coerce => 1);
12
13 sub AttributeList {
14 [ 'Arn' ]
15 }
16 sub supported_regions {
17 [ 'ap-northeast-1','ap-northeast-2','ap-south-1','ap-southeast-1','ap-southeast-2','ca-central-1','eu-central-1','eu-west-1','eu-west-2','sa-east-1','us-east-1','us-east-2','us-west-1','us-west-2' ]
18 }
19 }
20  
21  
22  
23 subtype 'Cfn::Resource::Properties::AWS::DLM::LifecyclePolicy::EncryptionConfiguration',
24 as 'Cfn::Value';
25  
26 coerce 'Cfn::Resource::Properties::AWS::DLM::LifecyclePolicy::EncryptionConfiguration',
27 from 'HashRef',
28 via {
29 if (my $f = Cfn::TypeLibrary::try_function($_)) {
30 return $f
31 } else {
32 return Cfn::Resource::Properties::Object::AWS::DLM::LifecyclePolicy::EncryptionConfiguration->new( %$_ );
33 }
34 };
35  
36 package Cfn::Resource::Properties::Object::AWS::DLM::LifecyclePolicy::EncryptionConfiguration {
37 use Moose;
38 use MooseX::StrictConstructor;
39 extends 'Cfn::Value::TypedValue';
40
41 has CmkArn => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
42 has Encrypted => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
43 }
44  
45 subtype 'Cfn::Resource::Properties::AWS::DLM::LifecyclePolicy::CrossRegionCopyRetainRule',
46 as 'Cfn::Value';
47  
48 coerce 'Cfn::Resource::Properties::AWS::DLM::LifecyclePolicy::CrossRegionCopyRetainRule',
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::DLM::LifecyclePolicy::CrossRegionCopyRetainRule->new( %$_ );
55 }
56 };
57  
58 package Cfn::Resource::Properties::Object::AWS::DLM::LifecyclePolicy::CrossRegionCopyRetainRule {
59 use Moose;
60 use MooseX::StrictConstructor;
61 extends 'Cfn::Value::TypedValue';
62
63 has Interval => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
64 has IntervalUnit => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
65 }
66 subtype 'ArrayOfCfn::Resource::Properties::AWS::DLM::LifecyclePolicy::ShareRule',
67 as 'Cfn::Value',
68 where { $_->isa('Cfn::Value::Array') or $_->isa('Cfn::Value::Function') },
69 message { "$_ is not a Cfn::Value or a Cfn::Value::Function" };
70  
71 coerce 'ArrayOfCfn::Resource::Properties::AWS::DLM::LifecyclePolicy::ShareRule',
72 from 'HashRef',
73 via {
74 if (my $f = Cfn::TypeLibrary::try_function($_)) {
75 return $f
76 } else {
77 die 'Only accepts functions';
78 }
79 },
80 from 'ArrayRef',
81 via {
82 Cfn::Value::Array->new(Value => [
83 map {
84 Moose::Util::TypeConstraints::find_type_constraint('Cfn::Resource::Properties::AWS::DLM::LifecyclePolicy::ShareRule')->coerce($_)
85 } @$_
86 ]);
87 };
88  
89 subtype 'Cfn::Resource::Properties::AWS::DLM::LifecyclePolicy::ShareRule',
90 as 'Cfn::Value';
91  
92 coerce 'Cfn::Resource::Properties::AWS::DLM::LifecyclePolicy::ShareRule',
93 from 'HashRef',
94 via {
95 if (my $f = Cfn::TypeLibrary::try_function($_)) {
96 return $f
97 } else {
98 return Cfn::Resource::Properties::Object::AWS::DLM::LifecyclePolicy::ShareRule->new( %$_ );
99 }
100 };
101  
102 package Cfn::Resource::Properties::Object::AWS::DLM::LifecyclePolicy::ShareRule {
103 use Moose;
104 use MooseX::StrictConstructor;
105 extends 'Cfn::Value::TypedValue';
106
107 has TargetAccounts => (isa => 'Cfn::Value::Array|Cfn::Value::Function|Cfn::DynamicValue', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
108 has UnshareInterval => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
109 has UnshareIntervalUnit => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
110 }
111  
112 subtype 'Cfn::Resource::Properties::AWS::DLM::LifecyclePolicy::RetainRule',
113 as 'Cfn::Value';
114  
115 coerce 'Cfn::Resource::Properties::AWS::DLM::LifecyclePolicy::RetainRule',
116 from 'HashRef',
117 via {
118 if (my $f = Cfn::TypeLibrary::try_function($_)) {
119 return $f
120 } else {
121 return Cfn::Resource::Properties::Object::AWS::DLM::LifecyclePolicy::RetainRule->new( %$_ );
122 }
123 };
124  
125 package Cfn::Resource::Properties::Object::AWS::DLM::LifecyclePolicy::RetainRule {
126 use Moose;
127 use MooseX::StrictConstructor;
128 extends 'Cfn::Value::TypedValue';
129
130 has Count => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
131 has Interval => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
132 has IntervalUnit => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
133 }
134  
135 subtype 'Cfn::Resource::Properties::AWS::DLM::LifecyclePolicy::FastRestoreRule',
136 as 'Cfn::Value';
137  
138 coerce 'Cfn::Resource::Properties::AWS::DLM::LifecyclePolicy::FastRestoreRule',
139 from 'HashRef',
140 via {
141 if (my $f = Cfn::TypeLibrary::try_function($_)) {
142 return $f
143 } else {
144 return Cfn::Resource::Properties::Object::AWS::DLM::LifecyclePolicy::FastRestoreRule->new( %$_ );
145 }
146 };
147  
148 package Cfn::Resource::Properties::Object::AWS::DLM::LifecyclePolicy::FastRestoreRule {
149 use Moose;
150 use MooseX::StrictConstructor;
151 extends 'Cfn::Value::TypedValue';
152
153 has AvailabilityZones => (isa => 'Cfn::Value::Array|Cfn::Value::Function|Cfn::DynamicValue', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
154 has Count => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
155 has Interval => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
156 has IntervalUnit => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
157 }
158  
159 subtype 'Cfn::Resource::Properties::AWS::DLM::LifecyclePolicy::EventParameters',
160 as 'Cfn::Value';
161  
162 coerce 'Cfn::Resource::Properties::AWS::DLM::LifecyclePolicy::EventParameters',
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::DLM::LifecyclePolicy::EventParameters->new( %$_ );
169 }
170 };
171  
172 package Cfn::Resource::Properties::Object::AWS::DLM::LifecyclePolicy::EventParameters {
173 use Moose;
174 use MooseX::StrictConstructor;
175 extends 'Cfn::Value::TypedValue';
176
177 has DescriptionRegex => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
178 has EventType => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
179 has SnapshotOwner => (isa => 'Cfn::Value::Array|Cfn::Value::Function|Cfn::DynamicValue', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
180 }
181 subtype 'ArrayOfCfn::Resource::Properties::AWS::DLM::LifecyclePolicy::CrossRegionCopyRule',
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::DLM::LifecyclePolicy::CrossRegionCopyRule',
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::DLM::LifecyclePolicy::CrossRegionCopyRule')->coerce($_)
200 } @$_
201 ]);
202 };
203  
204 subtype 'Cfn::Resource::Properties::AWS::DLM::LifecyclePolicy::CrossRegionCopyRule',
205 as 'Cfn::Value';
206  
207 coerce 'Cfn::Resource::Properties::AWS::DLM::LifecyclePolicy::CrossRegionCopyRule',
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::DLM::LifecyclePolicy::CrossRegionCopyRule->new( %$_ );
214 }
215 };
216  
217 package Cfn::Resource::Properties::Object::AWS::DLM::LifecyclePolicy::CrossRegionCopyRule {
218 use Moose;
219 use MooseX::StrictConstructor;
220 extends 'Cfn::Value::TypedValue';
221
222 has CmkArn => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
223 has CopyTags => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
224 has Encrypted => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
225 has RetainRule => (isa => 'Cfn::Resource::Properties::AWS::DLM::LifecyclePolicy::CrossRegionCopyRetainRule', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
226 has Target => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
227 has TargetRegion => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
228 }
229 subtype 'ArrayOfCfn::Resource::Properties::AWS::DLM::LifecyclePolicy::CrossRegionCopyAction',
230 as 'Cfn::Value',
231 where { $_->isa('Cfn::Value::Array') or $_->isa('Cfn::Value::Function') },
232 message { "$_ is not a Cfn::Value or a Cfn::Value::Function" };
233  
234 coerce 'ArrayOfCfn::Resource::Properties::AWS::DLM::LifecyclePolicy::CrossRegionCopyAction',
235 from 'HashRef',
236 via {
237 if (my $f = Cfn::TypeLibrary::try_function($_)) {
238 return $f
239 } else {
240 die 'Only accepts functions';
241 }
242 },
243 from 'ArrayRef',
244 via {
245 Cfn::Value::Array->new(Value => [
246 map {
247 Moose::Util::TypeConstraints::find_type_constraint('Cfn::Resource::Properties::AWS::DLM::LifecyclePolicy::CrossRegionCopyAction')->coerce($_)
248 } @$_
249 ]);
250 };
251  
252 subtype 'Cfn::Resource::Properties::AWS::DLM::LifecyclePolicy::CrossRegionCopyAction',
253 as 'Cfn::Value';
254  
255 coerce 'Cfn::Resource::Properties::AWS::DLM::LifecyclePolicy::CrossRegionCopyAction',
256 from 'HashRef',
257 via {
258 if (my $f = Cfn::TypeLibrary::try_function($_)) {
259 return $f
260 } else {
261 return Cfn::Resource::Properties::Object::AWS::DLM::LifecyclePolicy::CrossRegionCopyAction->new( %$_ );
262 }
263 };
264  
265 package Cfn::Resource::Properties::Object::AWS::DLM::LifecyclePolicy::CrossRegionCopyAction {
266 use Moose;
267 use MooseX::StrictConstructor;
268 extends 'Cfn::Value::TypedValue';
269
270 has EncryptionConfiguration => (isa => 'Cfn::Resource::Properties::AWS::DLM::LifecyclePolicy::EncryptionConfiguration', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
271 has RetainRule => (isa => 'Cfn::Resource::Properties::AWS::DLM::LifecyclePolicy::CrossRegionCopyRetainRule', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
272 has Target => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
273 }
274  
275 subtype 'Cfn::Resource::Properties::AWS::DLM::LifecyclePolicy::CreateRule',
276 as 'Cfn::Value';
277  
278 coerce 'Cfn::Resource::Properties::AWS::DLM::LifecyclePolicy::CreateRule',
279 from 'HashRef',
280 via {
281 if (my $f = Cfn::TypeLibrary::try_function($_)) {
282 return $f
283 } else {
284 return Cfn::Resource::Properties::Object::AWS::DLM::LifecyclePolicy::CreateRule->new( %$_ );
285 }
286 };
287  
288 package Cfn::Resource::Properties::Object::AWS::DLM::LifecyclePolicy::CreateRule {
289 use Moose;
290 use MooseX::StrictConstructor;
291 extends 'Cfn::Value::TypedValue';
292
293 has CronExpression => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
294 has Interval => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
295 has IntervalUnit => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
296 has Location => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
297 has Times => (isa => 'Cfn::Value::Array|Cfn::Value::Function|Cfn::DynamicValue', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
298 }
299 subtype 'ArrayOfCfn::Resource::Properties::AWS::DLM::LifecyclePolicy::Schedule',
300 as 'Cfn::Value',
301 where { $_->isa('Cfn::Value::Array') or $_->isa('Cfn::Value::Function') },
302 message { "$_ is not a Cfn::Value or a Cfn::Value::Function" };
303  
304 coerce 'ArrayOfCfn::Resource::Properties::AWS::DLM::LifecyclePolicy::Schedule',
305 from 'HashRef',
306 via {
307 if (my $f = Cfn::TypeLibrary::try_function($_)) {
308 return $f
309 } else {
310 die 'Only accepts functions';
311 }
312 },
313 from 'ArrayRef',
314 via {
315 Cfn::Value::Array->new(Value => [
316 map {
317 Moose::Util::TypeConstraints::find_type_constraint('Cfn::Resource::Properties::AWS::DLM::LifecyclePolicy::Schedule')->coerce($_)
318 } @$_
319 ]);
320 };
321  
322 subtype 'Cfn::Resource::Properties::AWS::DLM::LifecyclePolicy::Schedule',
323 as 'Cfn::Value';
324  
325 coerce 'Cfn::Resource::Properties::AWS::DLM::LifecyclePolicy::Schedule',
326 from 'HashRef',
327 via {
328 if (my $f = Cfn::TypeLibrary::try_function($_)) {
329 return $f
330 } else {
331 return Cfn::Resource::Properties::Object::AWS::DLM::LifecyclePolicy::Schedule->new( %$_ );
332 }
333 };
334  
335 package Cfn::Resource::Properties::Object::AWS::DLM::LifecyclePolicy::Schedule {
336 use Moose;
337 use MooseX::StrictConstructor;
338 extends 'Cfn::Value::TypedValue';
339
340 has CopyTags => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
341 has CreateRule => (isa => 'Cfn::Resource::Properties::AWS::DLM::LifecyclePolicy::CreateRule', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
342 has CrossRegionCopyRules => (isa => 'ArrayOfCfn::Resource::Properties::AWS::DLM::LifecyclePolicy::CrossRegionCopyRule', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
343 has FastRestoreRule => (isa => 'Cfn::Resource::Properties::AWS::DLM::LifecyclePolicy::FastRestoreRule', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
344 has Name => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
345 has RetainRule => (isa => 'Cfn::Resource::Properties::AWS::DLM::LifecyclePolicy::RetainRule', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
346 has ShareRules => (isa => 'ArrayOfCfn::Resource::Properties::AWS::DLM::LifecyclePolicy::ShareRule', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
347 has TagsToAdd => (isa => 'ArrayOfCfn::Resource::Properties::TagType', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
348 has VariableTags => (isa => 'ArrayOfCfn::Resource::Properties::TagType', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
349 }
350  
351 subtype 'Cfn::Resource::Properties::AWS::DLM::LifecyclePolicy::Parameters',
352 as 'Cfn::Value';
353  
354 coerce 'Cfn::Resource::Properties::AWS::DLM::LifecyclePolicy::Parameters',
355 from 'HashRef',
356 via {
357 if (my $f = Cfn::TypeLibrary::try_function($_)) {
358 return $f
359 } else {
360 return Cfn::Resource::Properties::Object::AWS::DLM::LifecyclePolicy::Parameters->new( %$_ );
361 }
362 };
363  
364 package Cfn::Resource::Properties::Object::AWS::DLM::LifecyclePolicy::Parameters {
365 use Moose;
366 use MooseX::StrictConstructor;
367 extends 'Cfn::Value::TypedValue';
368
369 has ExcludeBootVolume => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
370 has NoReboot => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
371 }
372  
373 subtype 'Cfn::Resource::Properties::AWS::DLM::LifecyclePolicy::EventSource',
374 as 'Cfn::Value';
375  
376 coerce 'Cfn::Resource::Properties::AWS::DLM::LifecyclePolicy::EventSource',
377 from 'HashRef',
378 via {
379 if (my $f = Cfn::TypeLibrary::try_function($_)) {
380 return $f
381 } else {
382 return Cfn::Resource::Properties::Object::AWS::DLM::LifecyclePolicy::EventSource->new( %$_ );
383 }
384 };
385  
386 package Cfn::Resource::Properties::Object::AWS::DLM::LifecyclePolicy::EventSource {
387 use Moose;
388 use MooseX::StrictConstructor;
389 extends 'Cfn::Value::TypedValue';
390
391 has Parameters => (isa => 'Cfn::Resource::Properties::AWS::DLM::LifecyclePolicy::EventParameters', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
392 has Type => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
393 }
394 subtype 'ArrayOfCfn::Resource::Properties::AWS::DLM::LifecyclePolicy::Action',
395 as 'Cfn::Value',
396 where { $_->isa('Cfn::Value::Array') or $_->isa('Cfn::Value::Function') },
397 message { "$_ is not a Cfn::Value or a Cfn::Value::Function" };
398  
399 coerce 'ArrayOfCfn::Resource::Properties::AWS::DLM::LifecyclePolicy::Action',
400 from 'HashRef',
401 via {
402 if (my $f = Cfn::TypeLibrary::try_function($_)) {
403 return $f
404 } else {
405 die 'Only accepts functions';
406 }
407 },
408 from 'ArrayRef',
409 via {
410 Cfn::Value::Array->new(Value => [
411 map {
412 Moose::Util::TypeConstraints::find_type_constraint('Cfn::Resource::Properties::AWS::DLM::LifecyclePolicy::Action')->coerce($_)
413 } @$_
414 ]);
415 };
416  
417 subtype 'Cfn::Resource::Properties::AWS::DLM::LifecyclePolicy::Action',
418 as 'Cfn::Value';
419  
420 coerce 'Cfn::Resource::Properties::AWS::DLM::LifecyclePolicy::Action',
421 from 'HashRef',
422 via {
423 if (my $f = Cfn::TypeLibrary::try_function($_)) {
424 return $f
425 } else {
426 return Cfn::Resource::Properties::Object::AWS::DLM::LifecyclePolicy::Action->new( %$_ );
427 }
428 };
429  
430 package Cfn::Resource::Properties::Object::AWS::DLM::LifecyclePolicy::Action {
431 use Moose;
432 use MooseX::StrictConstructor;
433 extends 'Cfn::Value::TypedValue';
434
435 has CrossRegionCopy => (isa => 'ArrayOfCfn::Resource::Properties::AWS::DLM::LifecyclePolicy::CrossRegionCopyAction', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
436 has Name => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
437 }
438  
439 subtype 'Cfn::Resource::Properties::AWS::DLM::LifecyclePolicy::PolicyDetails',
440 as 'Cfn::Value';
441  
442 coerce 'Cfn::Resource::Properties::AWS::DLM::LifecyclePolicy::PolicyDetails',
443 from 'HashRef',
444 via {
445 if (my $f = Cfn::TypeLibrary::try_function($_)) {
446 return $f
447 } else {
448 return Cfn::Resource::Properties::Object::AWS::DLM::LifecyclePolicy::PolicyDetails->new( %$_ );
449 }
450 };
451  
452 package Cfn::Resource::Properties::Object::AWS::DLM::LifecyclePolicy::PolicyDetails {
453 use Moose;
454 use MooseX::StrictConstructor;
455 extends 'Cfn::Value::TypedValue';
456
457 has Actions => (isa => 'ArrayOfCfn::Resource::Properties::AWS::DLM::LifecyclePolicy::Action', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
458 has EventSource => (isa => 'Cfn::Resource::Properties::AWS::DLM::LifecyclePolicy::EventSource', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
459 has Parameters => (isa => 'Cfn::Resource::Properties::AWS::DLM::LifecyclePolicy::Parameters', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
460 has PolicyType => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
461 has ResourceLocations => (isa => 'Cfn::Value::Array|Cfn::Value::Function|Cfn::DynamicValue', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
462 has ResourceTypes => (isa => 'Cfn::Value::Array|Cfn::Value::Function|Cfn::DynamicValue', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
463 has Schedules => (isa => 'ArrayOfCfn::Resource::Properties::AWS::DLM::LifecyclePolicy::Schedule', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
464 has TargetTags => (isa => 'ArrayOfCfn::Resource::Properties::TagType', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
465 }
466  
467 package Cfn::Resource::Properties::AWS::DLM::LifecyclePolicy {
468 use Moose;
469 use MooseX::StrictConstructor;
470 extends 'Cfn::Resource::Properties';
471
472 has Description => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
473 has ExecutionRoleArn => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
474 has PolicyDetails => (isa => 'Cfn::Resource::Properties::AWS::DLM::LifecyclePolicy::PolicyDetails', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
475 has State => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
476 has Tags => (isa => 'ArrayOfCfn::Resource::Properties::TagType', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
477 }
478  
479 1;
480 ### main pod documentation begin ###
481  
482 =encoding UTF-8
483  
484 =head1 NAME
485  
486 Cfn::Resource::AWS::DLM::LifecyclePolicy - Cfn resource for AWS::DLM::LifecyclePolicy
487  
488 =head1 DESCRIPTION
489  
490 This module implements a Perl module that represents the CloudFormation object AWS::DLM::LifecyclePolicy.
491  
492 See L<Cfn> for more information on how to use it.
493  
494 =head1 AUTHOR
495  
496 Jose Luis Martinez
497 CAPSiDE
498 jlmartinez@capside.com
499  
500 =head1 COPYRIGHT and LICENSE
501  
502 Copyright (c) 2013 by CAPSiDE
503 This code is distributed under the Apache 2 License. The full text of the
504 license can be found in the LICENSE file included with this module.
505  
506 =cut