Cfn/Resource/AWS/Cognito/UserPool.pm untested

filter: Statementstmt 0.0% 0 / 443 Branchbran 0.0% 0 / 40 Conditioncond 0.0% 0 / 6 MC/DCmcdc 0.0% 0 / 4 Subroutinesub 0.0% 0 / 42 Podpod 0.0% 0 / 2 totaltotal 0.0% 0 / 537 CC 1 SCAR 6.9
CC
1
Cov
0%
AttributeList
2.0
supported_regions
2.0
BEGIN
2.0
CRAP 2.0
1 # AWS::Cognito::UserPool generated from spec 22.0.0
2 use Moose::Util::TypeConstraints;
3  
4 coerce 'Cfn::Resource::Properties::AWS::Cognito::UserPool',
5 from 'HashRef',
6 via { Cfn::Resource::Properties::AWS::Cognito::UserPool->new( %$_ ) };
7  
8 package Cfn::Resource::AWS::Cognito::UserPool {
9 use Moose;
10 extends 'Cfn::Resource';
11 has Properties => (isa => 'Cfn::Resource::Properties::AWS::Cognito::UserPool', is => 'rw', coerce => 1);
12
13 sub AttributeList {
14 [ 'Arn','ProviderName','ProviderURL' ]
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','us-east-1','us-east-2','us-west-2' ]
18 }
19 }
20  
21  
22  
23 subtype 'Cfn::Resource::Properties::AWS::Cognito::UserPool::StringAttributeConstraints',
24 as 'Cfn::Value';
25  
26 coerce 'Cfn::Resource::Properties::AWS::Cognito::UserPool::StringAttributeConstraints',
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::Cognito::UserPool::StringAttributeConstraints->new( %$_ );
33 }
34 };
35  
36 package Cfn::Resource::Properties::Object::AWS::Cognito::UserPool::StringAttributeConstraints {
37 use Moose;
38 use MooseX::StrictConstructor;
39 extends 'Cfn::Value::TypedValue';
40
41 has MaxLength => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
42 has MinLength => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
43 }
44 subtype 'ArrayOfCfn::Resource::Properties::AWS::Cognito::UserPool::RecoveryOption',
45 as 'Cfn::Value',
46 where { $_->isa('Cfn::Value::Array') or $_->isa('Cfn::Value::Function') },
47 message { "$_ is not a Cfn::Value or a Cfn::Value::Function" };
48  
49 coerce 'ArrayOfCfn::Resource::Properties::AWS::Cognito::UserPool::RecoveryOption',
50 from 'HashRef',
51 via {
52 if (my $f = Cfn::TypeLibrary::try_function($_)) {
53 return $f
54 } else {
55 die 'Only accepts functions';
56 }
57 },
58 from 'ArrayRef',
59 via {
60 Cfn::Value::Array->new(Value => [
61 map {
62 Moose::Util::TypeConstraints::find_type_constraint('Cfn::Resource::Properties::AWS::Cognito::UserPool::RecoveryOption')->coerce($_)
63 } @$_
64 ]);
65 };
66  
67 subtype 'Cfn::Resource::Properties::AWS::Cognito::UserPool::RecoveryOption',
68 as 'Cfn::Value';
69  
70 coerce 'Cfn::Resource::Properties::AWS::Cognito::UserPool::RecoveryOption',
71 from 'HashRef',
72 via {
73 if (my $f = Cfn::TypeLibrary::try_function($_)) {
74 return $f
75 } else {
76 return Cfn::Resource::Properties::Object::AWS::Cognito::UserPool::RecoveryOption->new( %$_ );
77 }
78 };
79  
80 package Cfn::Resource::Properties::Object::AWS::Cognito::UserPool::RecoveryOption {
81 use Moose;
82 use MooseX::StrictConstructor;
83 extends 'Cfn::Value::TypedValue';
84
85 has Name => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
86 has Priority => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
87 }
88  
89 subtype 'Cfn::Resource::Properties::AWS::Cognito::UserPool::PasswordPolicy',
90 as 'Cfn::Value';
91  
92 coerce 'Cfn::Resource::Properties::AWS::Cognito::UserPool::PasswordPolicy',
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::Cognito::UserPool::PasswordPolicy->new( %$_ );
99 }
100 };
101  
102 package Cfn::Resource::Properties::Object::AWS::Cognito::UserPool::PasswordPolicy {
103 use Moose;
104 use MooseX::StrictConstructor;
105 extends 'Cfn::Value::TypedValue';
106
107 has MinimumLength => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
108 has RequireLowercase => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
109 has RequireNumbers => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
110 has RequireSymbols => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
111 has RequireUppercase => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
112 has TemporaryPasswordValidityDays => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
113 }
114  
115 subtype 'Cfn::Resource::Properties::AWS::Cognito::UserPool::NumberAttributeConstraints',
116 as 'Cfn::Value';
117  
118 coerce 'Cfn::Resource::Properties::AWS::Cognito::UserPool::NumberAttributeConstraints',
119 from 'HashRef',
120 via {
121 if (my $f = Cfn::TypeLibrary::try_function($_)) {
122 return $f
123 } else {
124 return Cfn::Resource::Properties::Object::AWS::Cognito::UserPool::NumberAttributeConstraints->new( %$_ );
125 }
126 };
127  
128 package Cfn::Resource::Properties::Object::AWS::Cognito::UserPool::NumberAttributeConstraints {
129 use Moose;
130 use MooseX::StrictConstructor;
131 extends 'Cfn::Value::TypedValue';
132
133 has MaxValue => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
134 has MinValue => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
135 }
136  
137 subtype 'Cfn::Resource::Properties::AWS::Cognito::UserPool::InviteMessageTemplate',
138 as 'Cfn::Value';
139  
140 coerce 'Cfn::Resource::Properties::AWS::Cognito::UserPool::InviteMessageTemplate',
141 from 'HashRef',
142 via {
143 if (my $f = Cfn::TypeLibrary::try_function($_)) {
144 return $f
145 } else {
146 return Cfn::Resource::Properties::Object::AWS::Cognito::UserPool::InviteMessageTemplate->new( %$_ );
147 }
148 };
149  
150 package Cfn::Resource::Properties::Object::AWS::Cognito::UserPool::InviteMessageTemplate {
151 use Moose;
152 use MooseX::StrictConstructor;
153 extends 'Cfn::Value::TypedValue';
154
155 has EmailMessage => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
156 has EmailSubject => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
157 has SMSMessage => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
158 }
159  
160 subtype 'Cfn::Resource::Properties::AWS::Cognito::UserPool::CustomSMSSender',
161 as 'Cfn::Value';
162  
163 coerce 'Cfn::Resource::Properties::AWS::Cognito::UserPool::CustomSMSSender',
164 from 'HashRef',
165 via {
166 if (my $f = Cfn::TypeLibrary::try_function($_)) {
167 return $f
168 } else {
169 return Cfn::Resource::Properties::Object::AWS::Cognito::UserPool::CustomSMSSender->new( %$_ );
170 }
171 };
172  
173 package Cfn::Resource::Properties::Object::AWS::Cognito::UserPool::CustomSMSSender {
174 use Moose;
175 use MooseX::StrictConstructor;
176 extends 'Cfn::Value::TypedValue';
177
178 has LambdaArn => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
179 has LambdaVersion => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
180 }
181  
182 subtype 'Cfn::Resource::Properties::AWS::Cognito::UserPool::CustomEmailSender',
183 as 'Cfn::Value';
184  
185 coerce 'Cfn::Resource::Properties::AWS::Cognito::UserPool::CustomEmailSender',
186 from 'HashRef',
187 via {
188 if (my $f = Cfn::TypeLibrary::try_function($_)) {
189 return $f
190 } else {
191 return Cfn::Resource::Properties::Object::AWS::Cognito::UserPool::CustomEmailSender->new( %$_ );
192 }
193 };
194  
195 package Cfn::Resource::Properties::Object::AWS::Cognito::UserPool::CustomEmailSender {
196 use Moose;
197 use MooseX::StrictConstructor;
198 extends 'Cfn::Value::TypedValue';
199
200 has LambdaArn => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
201 has LambdaVersion => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
202 }
203  
204 subtype 'Cfn::Resource::Properties::AWS::Cognito::UserPool::VerificationMessageTemplate',
205 as 'Cfn::Value';
206  
207 coerce 'Cfn::Resource::Properties::AWS::Cognito::UserPool::VerificationMessageTemplate',
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::Cognito::UserPool::VerificationMessageTemplate->new( %$_ );
214 }
215 };
216  
217 package Cfn::Resource::Properties::Object::AWS::Cognito::UserPool::VerificationMessageTemplate {
218 use Moose;
219 use MooseX::StrictConstructor;
220 extends 'Cfn::Value::TypedValue';
221
222 has DefaultEmailOption => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
223 has EmailMessage => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
224 has EmailMessageByLink => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
225 has EmailSubject => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
226 has EmailSubjectByLink => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
227 has SmsMessage => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
228 }
229  
230 subtype 'Cfn::Resource::Properties::AWS::Cognito::UserPool::UsernameConfiguration',
231 as 'Cfn::Value';
232  
233 coerce 'Cfn::Resource::Properties::AWS::Cognito::UserPool::UsernameConfiguration',
234 from 'HashRef',
235 via {
236 if (my $f = Cfn::TypeLibrary::try_function($_)) {
237 return $f
238 } else {
239 return Cfn::Resource::Properties::Object::AWS::Cognito::UserPool::UsernameConfiguration->new( %$_ );
240 }
241 };
242  
243 package Cfn::Resource::Properties::Object::AWS::Cognito::UserPool::UsernameConfiguration {
244 use Moose;
245 use MooseX::StrictConstructor;
246 extends 'Cfn::Value::TypedValue';
247
248 has CaseSensitive => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
249 }
250  
251 subtype 'Cfn::Resource::Properties::AWS::Cognito::UserPool::UserPoolAddOns',
252 as 'Cfn::Value';
253  
254 coerce 'Cfn::Resource::Properties::AWS::Cognito::UserPool::UserPoolAddOns',
255 from 'HashRef',
256 via {
257 if (my $f = Cfn::TypeLibrary::try_function($_)) {
258 return $f
259 } else {
260 return Cfn::Resource::Properties::Object::AWS::Cognito::UserPool::UserPoolAddOns->new( %$_ );
261 }
262 };
263  
264 package Cfn::Resource::Properties::Object::AWS::Cognito::UserPool::UserPoolAddOns {
265 use Moose;
266 use MooseX::StrictConstructor;
267 extends 'Cfn::Value::TypedValue';
268
269 has AdvancedSecurityMode => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
270 }
271  
272 subtype 'Cfn::Resource::Properties::AWS::Cognito::UserPool::SmsConfiguration',
273 as 'Cfn::Value';
274  
275 coerce 'Cfn::Resource::Properties::AWS::Cognito::UserPool::SmsConfiguration',
276 from 'HashRef',
277 via {
278 if (my $f = Cfn::TypeLibrary::try_function($_)) {
279 return $f
280 } else {
281 return Cfn::Resource::Properties::Object::AWS::Cognito::UserPool::SmsConfiguration->new( %$_ );
282 }
283 };
284  
285 package Cfn::Resource::Properties::Object::AWS::Cognito::UserPool::SmsConfiguration {
286 use Moose;
287 use MooseX::StrictConstructor;
288 extends 'Cfn::Value::TypedValue';
289
290 has ExternalId => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
291 has SnsCallerArn => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
292 }
293 subtype 'ArrayOfCfn::Resource::Properties::AWS::Cognito::UserPool::SchemaAttribute',
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::Cognito::UserPool::SchemaAttribute',
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::Cognito::UserPool::SchemaAttribute')->coerce($_)
312 } @$_
313 ]);
314 };
315  
316 subtype 'Cfn::Resource::Properties::AWS::Cognito::UserPool::SchemaAttribute',
317 as 'Cfn::Value';
318  
319 coerce 'Cfn::Resource::Properties::AWS::Cognito::UserPool::SchemaAttribute',
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::Cognito::UserPool::SchemaAttribute->new( %$_ );
326 }
327 };
328  
329 package Cfn::Resource::Properties::Object::AWS::Cognito::UserPool::SchemaAttribute {
330 use Moose;
331 use MooseX::StrictConstructor;
332 extends 'Cfn::Value::TypedValue';
333
334 has AttributeDataType => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
335 has DeveloperOnlyAttribute => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
336 has Mutable => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
337 has Name => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
338 has NumberAttributeConstraints => (isa => 'Cfn::Resource::Properties::AWS::Cognito::UserPool::NumberAttributeConstraints', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
339 has Required => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
340 has StringAttributeConstraints => (isa => 'Cfn::Resource::Properties::AWS::Cognito::UserPool::StringAttributeConstraints', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
341 }
342  
343 subtype 'Cfn::Resource::Properties::AWS::Cognito::UserPool::Policies',
344 as 'Cfn::Value';
345  
346 coerce 'Cfn::Resource::Properties::AWS::Cognito::UserPool::Policies',
347 from 'HashRef',
348 via {
349 if (my $f = Cfn::TypeLibrary::try_function($_)) {
350 return $f
351 } else {
352 return Cfn::Resource::Properties::Object::AWS::Cognito::UserPool::Policies->new( %$_ );
353 }
354 };
355  
356 package Cfn::Resource::Properties::Object::AWS::Cognito::UserPool::Policies {
357 use Moose;
358 use MooseX::StrictConstructor;
359 extends 'Cfn::Value::TypedValue';
360
361 has PasswordPolicy => (isa => 'Cfn::Resource::Properties::AWS::Cognito::UserPool::PasswordPolicy', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
362 }
363  
364 subtype 'Cfn::Resource::Properties::AWS::Cognito::UserPool::LambdaConfig',
365 as 'Cfn::Value';
366  
367 coerce 'Cfn::Resource::Properties::AWS::Cognito::UserPool::LambdaConfig',
368 from 'HashRef',
369 via {
370 if (my $f = Cfn::TypeLibrary::try_function($_)) {
371 return $f
372 } else {
373 return Cfn::Resource::Properties::Object::AWS::Cognito::UserPool::LambdaConfig->new( %$_ );
374 }
375 };
376  
377 package Cfn::Resource::Properties::Object::AWS::Cognito::UserPool::LambdaConfig {
378 use Moose;
379 use MooseX::StrictConstructor;
380 extends 'Cfn::Value::TypedValue';
381
382 has CreateAuthChallenge => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
383 has CustomEmailSender => (isa => 'Cfn::Resource::Properties::AWS::Cognito::UserPool::CustomEmailSender', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
384 has CustomMessage => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
385 has CustomSMSSender => (isa => 'Cfn::Resource::Properties::AWS::Cognito::UserPool::CustomSMSSender', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
386 has DefineAuthChallenge => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
387 has KMSKeyID => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
388 has PostAuthentication => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
389 has PostConfirmation => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
390 has PreAuthentication => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
391 has PreSignUp => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
392 has PreTokenGeneration => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
393 has UserMigration => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
394 has VerifyAuthChallengeResponse => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
395 }
396  
397 subtype 'Cfn::Resource::Properties::AWS::Cognito::UserPool::EmailConfiguration',
398 as 'Cfn::Value';
399  
400 coerce 'Cfn::Resource::Properties::AWS::Cognito::UserPool::EmailConfiguration',
401 from 'HashRef',
402 via {
403 if (my $f = Cfn::TypeLibrary::try_function($_)) {
404 return $f
405 } else {
406 return Cfn::Resource::Properties::Object::AWS::Cognito::UserPool::EmailConfiguration->new( %$_ );
407 }
408 };
409  
410 package Cfn::Resource::Properties::Object::AWS::Cognito::UserPool::EmailConfiguration {
411 use Moose;
412 use MooseX::StrictConstructor;
413 extends 'Cfn::Value::TypedValue';
414
415 has ConfigurationSet => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
416 has EmailSendingAccount => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
417 has From => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
418 has ReplyToEmailAddress => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
419 has SourceArn => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
420 }
421  
422 subtype 'Cfn::Resource::Properties::AWS::Cognito::UserPool::DeviceConfiguration',
423 as 'Cfn::Value';
424  
425 coerce 'Cfn::Resource::Properties::AWS::Cognito::UserPool::DeviceConfiguration',
426 from 'HashRef',
427 via {
428 if (my $f = Cfn::TypeLibrary::try_function($_)) {
429 return $f
430 } else {
431 return Cfn::Resource::Properties::Object::AWS::Cognito::UserPool::DeviceConfiguration->new( %$_ );
432 }
433 };
434  
435 package Cfn::Resource::Properties::Object::AWS::Cognito::UserPool::DeviceConfiguration {
436 use Moose;
437 use MooseX::StrictConstructor;
438 extends 'Cfn::Value::TypedValue';
439
440 has ChallengeRequiredOnNewDevice => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
441 has DeviceOnlyRememberedOnUserPrompt => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
442 }
443  
444 subtype 'Cfn::Resource::Properties::AWS::Cognito::UserPool::AdminCreateUserConfig',
445 as 'Cfn::Value';
446  
447 coerce 'Cfn::Resource::Properties::AWS::Cognito::UserPool::AdminCreateUserConfig',
448 from 'HashRef',
449 via {
450 if (my $f = Cfn::TypeLibrary::try_function($_)) {
451 return $f
452 } else {
453 return Cfn::Resource::Properties::Object::AWS::Cognito::UserPool::AdminCreateUserConfig->new( %$_ );
454 }
455 };
456  
457 package Cfn::Resource::Properties::Object::AWS::Cognito::UserPool::AdminCreateUserConfig {
458 use Moose;
459 use MooseX::StrictConstructor;
460 extends 'Cfn::Value::TypedValue';
461
462 has AllowAdminCreateUserOnly => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
463 has InviteMessageTemplate => (isa => 'Cfn::Resource::Properties::AWS::Cognito::UserPool::InviteMessageTemplate', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
464 has UnusedAccountValidityDays => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
465 }
466  
467 subtype 'Cfn::Resource::Properties::AWS::Cognito::UserPool::AccountRecoverySetting',
468 as 'Cfn::Value';
469  
470 coerce 'Cfn::Resource::Properties::AWS::Cognito::UserPool::AccountRecoverySetting',
471 from 'HashRef',
472 via {
473 if (my $f = Cfn::TypeLibrary::try_function($_)) {
474 return $f
475 } else {
476 return Cfn::Resource::Properties::Object::AWS::Cognito::UserPool::AccountRecoverySetting->new( %$_ );
477 }
478 };
479  
480 package Cfn::Resource::Properties::Object::AWS::Cognito::UserPool::AccountRecoverySetting {
481 use Moose;
482 use MooseX::StrictConstructor;
483 extends 'Cfn::Value::TypedValue';
484
485 has RecoveryMechanisms => (isa => 'ArrayOfCfn::Resource::Properties::AWS::Cognito::UserPool::RecoveryOption', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
486 }
487  
488 package Cfn::Resource::Properties::AWS::Cognito::UserPool {
489 use Moose;
490 use MooseX::StrictConstructor;
491 extends 'Cfn::Resource::Properties';
492
493 has AccountRecoverySetting => (isa => 'Cfn::Resource::Properties::AWS::Cognito::UserPool::AccountRecoverySetting', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
494 has AdminCreateUserConfig => (isa => 'Cfn::Resource::Properties::AWS::Cognito::UserPool::AdminCreateUserConfig', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
495 has AliasAttributes => (isa => 'Cfn::Value::Array|Cfn::Value::Function|Cfn::DynamicValue', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
496 has AutoVerifiedAttributes => (isa => 'Cfn::Value::Array|Cfn::Value::Function|Cfn::DynamicValue', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
497 has DeviceConfiguration => (isa => 'Cfn::Resource::Properties::AWS::Cognito::UserPool::DeviceConfiguration', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
498 has EmailConfiguration => (isa => 'Cfn::Resource::Properties::AWS::Cognito::UserPool::EmailConfiguration', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
499 has EmailVerificationMessage => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
500 has EmailVerificationSubject => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
501 has EnabledMfas => (isa => 'Cfn::Value::Array|Cfn::Value::Function|Cfn::DynamicValue', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
502 has LambdaConfig => (isa => 'Cfn::Resource::Properties::AWS::Cognito::UserPool::LambdaConfig', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
503 has MfaConfiguration => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
504 has Policies => (isa => 'Cfn::Resource::Properties::AWS::Cognito::UserPool::Policies', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
505 has Schema => (isa => 'ArrayOfCfn::Resource::Properties::AWS::Cognito::UserPool::SchemaAttribute', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
506 has SmsAuthenticationMessage => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
507 has SmsConfiguration => (isa => 'Cfn::Resource::Properties::AWS::Cognito::UserPool::SmsConfiguration', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
508 has SmsVerificationMessage => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
509 has UserPoolAddOns => (isa => 'Cfn::Resource::Properties::AWS::Cognito::UserPool::UserPoolAddOns', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
510 has UserPoolName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
511 has UserPoolTags => (isa => 'Cfn::Value::Json|Cfn::DynamicValue', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
512 has UsernameAttributes => (isa => 'Cfn::Value::Array|Cfn::Value::Function|Cfn::DynamicValue', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
513 has UsernameConfiguration => (isa => 'Cfn::Resource::Properties::AWS::Cognito::UserPool::UsernameConfiguration', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
514 has VerificationMessageTemplate => (isa => 'Cfn::Resource::Properties::AWS::Cognito::UserPool::VerificationMessageTemplate', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
515 }
516  
517 1;
518 ### main pod documentation begin ###
519  
520 =encoding UTF-8
521  
522 =head1 NAME
523  
524 Cfn::Resource::AWS::Cognito::UserPool - Cfn resource for AWS::Cognito::UserPool
525  
526 =head1 DESCRIPTION
527  
528 This module implements a Perl module that represents the CloudFormation object AWS::Cognito::UserPool.
529  
530 See L<Cfn> for more information on how to use it.
531  
532 =head1 AUTHOR
533  
534 Jose Luis Martinez
535 CAPSiDE
536 jlmartinez@capside.com
537  
538 =head1 COPYRIGHT and LICENSE
539  
540 Copyright (c) 2013 by CAPSiDE
541 This code is distributed under the Apache 2 License. The full text of the
542 license can be found in the LICENSE file included with this module.
543  
544 =cut