File Coverage

blib/lib/Cfn/Resource/AWS/Cognito/UserPool.pm
Criterion Covered Total %
statement 110 110 100.0
branch n/a
condition n/a
subroutine 38 38 100.0
pod 0 2 0.0
total 148 150 98.6


line stmt bran cond sub pod time code
1             # AWS::Cognito::UserPool generated from spec 11.1.0
2 1     1   840 use Moose::Util::TypeConstraints;
  1         5  
  1         12  
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 1     1   2298 use Moose;
  1         5  
  1         10  
10             extends 'Cfn::Resource';
11             has Properties => (isa => 'Cfn::Resource::Properties::AWS::Cognito::UserPool', is => 'rw', coerce => 1);
12            
13             sub AttributeList {
14 1     1 0 6 [ 'Arn','ProviderName','ProviderURL' ]
15             }
16             sub supported_regions {
17 1     1 0 1194 [ '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::AWS::Cognito::UserPool::StringAttributeConstraintsValue->new( %$_ );
33             }
34             };
35              
36             package Cfn::Resource::Properties::AWS::Cognito::UserPool::StringAttributeConstraintsValue {
37 1     1   7493 use Moose;
  1         14  
  1         9  
38 1     1   6596 use MooseX::StrictConstructor;
  1         3  
  1         10  
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::AWS::Cognito::UserPool::RecoveryOptionValue->new( %$_ );
77             }
78             };
79              
80             package Cfn::Resource::Properties::AWS::Cognito::UserPool::RecoveryOptionValue {
81 1     1   3968 use Moose;
  1         3  
  1         6  
82 1     1   6547 use MooseX::StrictConstructor;
  1         3  
  1         8  
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::AWS::Cognito::UserPool::PasswordPolicyValue->new( %$_ );
99             }
100             };
101              
102             package Cfn::Resource::Properties::AWS::Cognito::UserPool::PasswordPolicyValue {
103 1     1   3382 use Moose;
  1         2  
  1         7  
104 1     1   6543 use MooseX::StrictConstructor;
  1         2  
  1         7  
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::AWS::Cognito::UserPool::NumberAttributeConstraintsValue->new( %$_ );
125             }
126             };
127              
128             package Cfn::Resource::Properties::AWS::Cognito::UserPool::NumberAttributeConstraintsValue {
129 1     1   3887 use Moose;
  1         3  
  1         6  
130 1     1   7039 use MooseX::StrictConstructor;
  1         3  
  1         7  
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::AWS::Cognito::UserPool::InviteMessageTemplateValue->new( %$_ );
147             }
148             };
149              
150             package Cfn::Resource::Properties::AWS::Cognito::UserPool::InviteMessageTemplateValue {
151 1     1   3555 use Moose;
  1         3  
  1         15  
152 1     1   6722 use MooseX::StrictConstructor;
  1         4  
  1         5  
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::VerificationMessageTemplate',
161             as 'Cfn::Value';
162              
163             coerce 'Cfn::Resource::Properties::AWS::Cognito::UserPool::VerificationMessageTemplate',
164             from 'HashRef',
165             via {
166             if (my $f = Cfn::TypeLibrary::try_function($_)) {
167             return $f
168             } else {
169             return Cfn::Resource::Properties::AWS::Cognito::UserPool::VerificationMessageTemplateValue->new( %$_ );
170             }
171             };
172              
173             package Cfn::Resource::Properties::AWS::Cognito::UserPool::VerificationMessageTemplateValue {
174 1     1   26992 use Moose;
  1         3  
  1         11  
175 1     1   7692 use MooseX::StrictConstructor;
  1         3  
  1         8  
176             extends 'Cfn::Value::TypedValue';
177            
178             has DefaultEmailOption => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
179             has EmailMessage => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
180             has EmailMessageByLink => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
181             has EmailSubject => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
182             has EmailSubjectByLink => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
183             has SmsMessage => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
184             }
185              
186             subtype 'Cfn::Resource::Properties::AWS::Cognito::UserPool::UsernameConfiguration',
187             as 'Cfn::Value';
188              
189             coerce 'Cfn::Resource::Properties::AWS::Cognito::UserPool::UsernameConfiguration',
190             from 'HashRef',
191             via {
192             if (my $f = Cfn::TypeLibrary::try_function($_)) {
193             return $f
194             } else {
195             return Cfn::Resource::Properties::AWS::Cognito::UserPool::UsernameConfigurationValue->new( %$_ );
196             }
197             };
198              
199             package Cfn::Resource::Properties::AWS::Cognito::UserPool::UsernameConfigurationValue {
200 1     1   3818 use Moose;
  1         3  
  1         6  
201 1     1   6635 use MooseX::StrictConstructor;
  1         4  
  1         5  
202             extends 'Cfn::Value::TypedValue';
203            
204             has CaseSensitive => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
205             }
206              
207             subtype 'Cfn::Resource::Properties::AWS::Cognito::UserPool::UserPoolAddOns',
208             as 'Cfn::Value';
209              
210             coerce 'Cfn::Resource::Properties::AWS::Cognito::UserPool::UserPoolAddOns',
211             from 'HashRef',
212             via {
213             if (my $f = Cfn::TypeLibrary::try_function($_)) {
214             return $f
215             } else {
216             return Cfn::Resource::Properties::AWS::Cognito::UserPool::UserPoolAddOnsValue->new( %$_ );
217             }
218             };
219              
220             package Cfn::Resource::Properties::AWS::Cognito::UserPool::UserPoolAddOnsValue {
221 1     1   3399 use Moose;
  1         4  
  1         6  
222 1     1   6536 use MooseX::StrictConstructor;
  1         3  
  1         6  
223             extends 'Cfn::Value::TypedValue';
224            
225             has AdvancedSecurityMode => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
226             }
227              
228             subtype 'Cfn::Resource::Properties::AWS::Cognito::UserPool::SmsConfiguration',
229             as 'Cfn::Value';
230              
231             coerce 'Cfn::Resource::Properties::AWS::Cognito::UserPool::SmsConfiguration',
232             from 'HashRef',
233             via {
234             if (my $f = Cfn::TypeLibrary::try_function($_)) {
235             return $f
236             } else {
237             return Cfn::Resource::Properties::AWS::Cognito::UserPool::SmsConfigurationValue->new( %$_ );
238             }
239             };
240              
241             package Cfn::Resource::Properties::AWS::Cognito::UserPool::SmsConfigurationValue {
242 1     1   3407 use Moose;
  1         2  
  1         6  
243 1     1   6562 use MooseX::StrictConstructor;
  1         2  
  1         5  
244             extends 'Cfn::Value::TypedValue';
245            
246             has ExternalId => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
247             has SnsCallerArn => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
248             }
249             subtype 'ArrayOfCfn::Resource::Properties::AWS::Cognito::UserPool::SchemaAttribute',
250             as 'Cfn::Value',
251             where { $_->isa('Cfn::Value::Array') or $_->isa('Cfn::Value::Function') },
252             message { "$_ is not a Cfn::Value or a Cfn::Value::Function" };
253              
254             coerce 'ArrayOfCfn::Resource::Properties::AWS::Cognito::UserPool::SchemaAttribute',
255             from 'HashRef',
256             via {
257             if (my $f = Cfn::TypeLibrary::try_function($_)) {
258             return $f
259             } else {
260             die 'Only accepts functions';
261             }
262             },
263             from 'ArrayRef',
264             via {
265             Cfn::Value::Array->new(Value => [
266             map {
267             Moose::Util::TypeConstraints::find_type_constraint('Cfn::Resource::Properties::AWS::Cognito::UserPool::SchemaAttribute')->coerce($_)
268             } @$_
269             ]);
270             };
271              
272             subtype 'Cfn::Resource::Properties::AWS::Cognito::UserPool::SchemaAttribute',
273             as 'Cfn::Value';
274              
275             coerce 'Cfn::Resource::Properties::AWS::Cognito::UserPool::SchemaAttribute',
276             from 'HashRef',
277             via {
278             if (my $f = Cfn::TypeLibrary::try_function($_)) {
279             return $f
280             } else {
281             return Cfn::Resource::Properties::AWS::Cognito::UserPool::SchemaAttributeValue->new( %$_ );
282             }
283             };
284              
285             package Cfn::Resource::Properties::AWS::Cognito::UserPool::SchemaAttributeValue {
286 1     1   3557 use Moose;
  1         2  
  1         7  
287 1     1   6511 use MooseX::StrictConstructor;
  1         3  
  1         6  
288             extends 'Cfn::Value::TypedValue';
289            
290             has AttributeDataType => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
291             has DeveloperOnlyAttribute => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
292             has Mutable => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
293             has Name => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
294             has NumberAttributeConstraints => (isa => 'Cfn::Resource::Properties::AWS::Cognito::UserPool::NumberAttributeConstraints', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
295             has Required => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
296             has StringAttributeConstraints => (isa => 'Cfn::Resource::Properties::AWS::Cognito::UserPool::StringAttributeConstraints', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
297             }
298              
299             subtype 'Cfn::Resource::Properties::AWS::Cognito::UserPool::Policies',
300             as 'Cfn::Value';
301              
302             coerce 'Cfn::Resource::Properties::AWS::Cognito::UserPool::Policies',
303             from 'HashRef',
304             via {
305             if (my $f = Cfn::TypeLibrary::try_function($_)) {
306             return $f
307             } else {
308             return Cfn::Resource::Properties::AWS::Cognito::UserPool::PoliciesValue->new( %$_ );
309             }
310             };
311              
312             package Cfn::Resource::Properties::AWS::Cognito::UserPool::PoliciesValue {
313 1     1   3430 use Moose;
  1         3  
  1         6  
314 1     1   6643 use MooseX::StrictConstructor;
  1         3  
  1         5  
315             extends 'Cfn::Value::TypedValue';
316            
317             has PasswordPolicy => (isa => 'Cfn::Resource::Properties::AWS::Cognito::UserPool::PasswordPolicy', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
318             }
319              
320             subtype 'Cfn::Resource::Properties::AWS::Cognito::UserPool::LambdaConfig',
321             as 'Cfn::Value';
322              
323             coerce 'Cfn::Resource::Properties::AWS::Cognito::UserPool::LambdaConfig',
324             from 'HashRef',
325             via {
326             if (my $f = Cfn::TypeLibrary::try_function($_)) {
327             return $f
328             } else {
329             return Cfn::Resource::Properties::AWS::Cognito::UserPool::LambdaConfigValue->new( %$_ );
330             }
331             };
332              
333             package Cfn::Resource::Properties::AWS::Cognito::UserPool::LambdaConfigValue {
334 1     1   3473 use Moose;
  1         2  
  1         6  
335 1     1   6799 use MooseX::StrictConstructor;
  1         3  
  1         7  
336             extends 'Cfn::Value::TypedValue';
337            
338             has CreateAuthChallenge => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
339             has CustomMessage => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
340             has DefineAuthChallenge => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
341             has PostAuthentication => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
342             has PostConfirmation => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
343             has PreAuthentication => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
344             has PreSignUp => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
345             has PreTokenGeneration => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
346             has UserMigration => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
347             has VerifyAuthChallengeResponse => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
348             }
349              
350             subtype 'Cfn::Resource::Properties::AWS::Cognito::UserPool::EmailConfiguration',
351             as 'Cfn::Value';
352              
353             coerce 'Cfn::Resource::Properties::AWS::Cognito::UserPool::EmailConfiguration',
354             from 'HashRef',
355             via {
356             if (my $f = Cfn::TypeLibrary::try_function($_)) {
357             return $f
358             } else {
359             return Cfn::Resource::Properties::AWS::Cognito::UserPool::EmailConfigurationValue->new( %$_ );
360             }
361             };
362              
363             package Cfn::Resource::Properties::AWS::Cognito::UserPool::EmailConfigurationValue {
364 1     1   3543 use Moose;
  1         4  
  1         15  
365 1     1   6683 use MooseX::StrictConstructor;
  1         4  
  1         7  
366             extends 'Cfn::Value::TypedValue';
367            
368             has ConfigurationSet => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
369             has EmailSendingAccount => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
370             has From => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
371             has ReplyToEmailAddress => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
372             has SourceArn => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
373             }
374              
375             subtype 'Cfn::Resource::Properties::AWS::Cognito::UserPool::DeviceConfiguration',
376             as 'Cfn::Value';
377              
378             coerce 'Cfn::Resource::Properties::AWS::Cognito::UserPool::DeviceConfiguration',
379             from 'HashRef',
380             via {
381             if (my $f = Cfn::TypeLibrary::try_function($_)) {
382             return $f
383             } else {
384             return Cfn::Resource::Properties::AWS::Cognito::UserPool::DeviceConfigurationValue->new( %$_ );
385             }
386             };
387              
388             package Cfn::Resource::Properties::AWS::Cognito::UserPool::DeviceConfigurationValue {
389 1     1   3804 use Moose;
  1         4  
  1         6  
390 1     1   6546 use MooseX::StrictConstructor;
  1         2  
  1         6  
391             extends 'Cfn::Value::TypedValue';
392            
393             has ChallengeRequiredOnNewDevice => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
394             has DeviceOnlyRememberedOnUserPrompt => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
395             }
396              
397             subtype 'Cfn::Resource::Properties::AWS::Cognito::UserPool::AdminCreateUserConfig',
398             as 'Cfn::Value';
399              
400             coerce 'Cfn::Resource::Properties::AWS::Cognito::UserPool::AdminCreateUserConfig',
401             from 'HashRef',
402             via {
403             if (my $f = Cfn::TypeLibrary::try_function($_)) {
404             return $f
405             } else {
406             return Cfn::Resource::Properties::AWS::Cognito::UserPool::AdminCreateUserConfigValue->new( %$_ );
407             }
408             };
409              
410             package Cfn::Resource::Properties::AWS::Cognito::UserPool::AdminCreateUserConfigValue {
411 1     1   3348 use Moose;
  1         2  
  1         7  
412 1     1   6528 use MooseX::StrictConstructor;
  1         5  
  1         6  
413             extends 'Cfn::Value::TypedValue';
414            
415             has AllowAdminCreateUserOnly => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
416             has InviteMessageTemplate => (isa => 'Cfn::Resource::Properties::AWS::Cognito::UserPool::InviteMessageTemplate', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
417             has UnusedAccountValidityDays => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
418             }
419              
420             subtype 'Cfn::Resource::Properties::AWS::Cognito::UserPool::AccountRecoverySetting',
421             as 'Cfn::Value';
422              
423             coerce 'Cfn::Resource::Properties::AWS::Cognito::UserPool::AccountRecoverySetting',
424             from 'HashRef',
425             via {
426             if (my $f = Cfn::TypeLibrary::try_function($_)) {
427             return $f
428             } else {
429             return Cfn::Resource::Properties::AWS::Cognito::UserPool::AccountRecoverySettingValue->new( %$_ );
430             }
431             };
432              
433             package Cfn::Resource::Properties::AWS::Cognito::UserPool::AccountRecoverySettingValue {
434 1     1   3471 use Moose;
  1         3  
  1         16  
435 1     1   6570 use MooseX::StrictConstructor;
  1         3  
  1         7  
436             extends 'Cfn::Value::TypedValue';
437            
438             has RecoveryMechanisms => (isa => 'ArrayOfCfn::Resource::Properties::AWS::Cognito::UserPool::RecoveryOption', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
439             }
440              
441             package Cfn::Resource::Properties::AWS::Cognito::UserPool {
442 1     1   3292 use Moose;
  1         2  
  1         7  
443 1     1   6619 use MooseX::StrictConstructor;
  1         3  
  1         7  
444             extends 'Cfn::Resource::Properties';
445            
446             has AccountRecoverySetting => (isa => 'Cfn::Resource::Properties::AWS::Cognito::UserPool::AccountRecoverySetting', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
447             has AdminCreateUserConfig => (isa => 'Cfn::Resource::Properties::AWS::Cognito::UserPool::AdminCreateUserConfig', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
448             has AliasAttributes => (isa => 'Cfn::Value::Array|Cfn::Value::Function|Cfn::DynamicValue', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
449             has AutoVerifiedAttributes => (isa => 'Cfn::Value::Array|Cfn::Value::Function|Cfn::DynamicValue', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
450             has DeviceConfiguration => (isa => 'Cfn::Resource::Properties::AWS::Cognito::UserPool::DeviceConfiguration', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
451             has EmailConfiguration => (isa => 'Cfn::Resource::Properties::AWS::Cognito::UserPool::EmailConfiguration', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
452             has EmailVerificationMessage => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
453             has EmailVerificationSubject => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
454             has EnabledMfas => (isa => 'Cfn::Value::Array|Cfn::Value::Function|Cfn::DynamicValue', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
455             has LambdaConfig => (isa => 'Cfn::Resource::Properties::AWS::Cognito::UserPool::LambdaConfig', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
456             has MfaConfiguration => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
457             has Policies => (isa => 'Cfn::Resource::Properties::AWS::Cognito::UserPool::Policies', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
458             has Schema => (isa => 'ArrayOfCfn::Resource::Properties::AWS::Cognito::UserPool::SchemaAttribute', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
459             has SmsAuthenticationMessage => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
460             has SmsConfiguration => (isa => 'Cfn::Resource::Properties::AWS::Cognito::UserPool::SmsConfiguration', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
461             has SmsVerificationMessage => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
462             has UserPoolAddOns => (isa => 'Cfn::Resource::Properties::AWS::Cognito::UserPool::UserPoolAddOns', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
463             has UserPoolName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
464             has UserPoolTags => (isa => 'Cfn::Value::Json|Cfn::DynamicValue', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
465             has UsernameAttributes => (isa => 'Cfn::Value::Array|Cfn::Value::Function|Cfn::DynamicValue', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
466             has UsernameConfiguration => (isa => 'Cfn::Resource::Properties::AWS::Cognito::UserPool::UsernameConfiguration', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
467             has VerificationMessageTemplate => (isa => 'Cfn::Resource::Properties::AWS::Cognito::UserPool::VerificationMessageTemplate', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
468             }
469              
470             1;