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 18.4.0
2 1     1   793 use Moose::Util::TypeConstraints;
  1         4  
  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   2256 use Moose;
  1         3  
  1         9  
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 5 [ 'Arn','ProviderName','ProviderURL' ]
15             }
16             sub supported_regions {
17 1     1 0 1184 [ '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 1     1   7310 use Moose;
  1         4  
  1         10  
38 1     1   6734 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::Object::AWS::Cognito::UserPool::RecoveryOption->new( %$_ );
77             }
78             };
79              
80             package Cfn::Resource::Properties::Object::AWS::Cognito::UserPool::RecoveryOption {
81 1     1   3985 use Moose;
  1         4  
  1         5  
82 1     1   6783 use MooseX::StrictConstructor;
  1         3  
  1         6  
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 1     1   3402 use Moose;
  1         3  
  1         5  
104 1     1   6663 use MooseX::StrictConstructor;
  1         3  
  1         6  
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 1     1   3545 use Moose;
  1         3  
  1         5  
130 1     1   6625 use MooseX::StrictConstructor;
  1         7  
  1         5  
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 1     1   3438 use Moose;
  1         2  
  1         6  
152 1     1   6661 use MooseX::StrictConstructor;
  1         2  
  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::Object::AWS::Cognito::UserPool::VerificationMessageTemplate->new( %$_ );
170             }
171             };
172              
173             package Cfn::Resource::Properties::Object::AWS::Cognito::UserPool::VerificationMessageTemplate {
174 1     1   3447 use Moose;
  1         3  
  1         7  
175 1     1   6605 use MooseX::StrictConstructor;
  1         2  
  1         4  
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::Object::AWS::Cognito::UserPool::UsernameConfiguration->new( %$_ );
196             }
197             };
198              
199             package Cfn::Resource::Properties::Object::AWS::Cognito::UserPool::UsernameConfiguration {
200 1     1   3522 use Moose;
  1         3  
  1         5  
201 1     1   6656 use MooseX::StrictConstructor;
  1         3  
  1         4  
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::Object::AWS::Cognito::UserPool::UserPoolAddOns->new( %$_ );
217             }
218             };
219              
220             package Cfn::Resource::Properties::Object::AWS::Cognito::UserPool::UserPoolAddOns {
221 1     1   3374 use Moose;
  1         5  
  1         4  
222 1     1   6903 use MooseX::StrictConstructor;
  1         3  
  1         5  
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::Object::AWS::Cognito::UserPool::SmsConfiguration->new( %$_ );
238             }
239             };
240              
241             package Cfn::Resource::Properties::Object::AWS::Cognito::UserPool::SmsConfiguration {
242 1     1   3498 use Moose;
  1         2  
  1         6  
243 1     1   6596 use MooseX::StrictConstructor;
  1         3  
  1         6  
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::Object::AWS::Cognito::UserPool::SchemaAttribute->new( %$_ );
282             }
283             };
284              
285             package Cfn::Resource::Properties::Object::AWS::Cognito::UserPool::SchemaAttribute {
286 1     1   3626 use Moose;
  1         2  
  1         7  
287 1     1   6681 use MooseX::StrictConstructor;
  1         4  
  1         5  
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::Object::AWS::Cognito::UserPool::Policies->new( %$_ );
309             }
310             };
311              
312             package Cfn::Resource::Properties::Object::AWS::Cognito::UserPool::Policies {
313 1     1   3478 use Moose;
  1         4  
  1         5  
314 1     1   6740 use MooseX::StrictConstructor;
  1         4  
  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::Object::AWS::Cognito::UserPool::LambdaConfig->new( %$_ );
330             }
331             };
332              
333             package Cfn::Resource::Properties::Object::AWS::Cognito::UserPool::LambdaConfig {
334 1     1   3398 use Moose;
  1         3  
  1         5  
335 1     1   6634 use MooseX::StrictConstructor;
  1         3  
  1         6  
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::Object::AWS::Cognito::UserPool::EmailConfiguration->new( %$_ );
360             }
361             };
362              
363             package Cfn::Resource::Properties::Object::AWS::Cognito::UserPool::EmailConfiguration {
364 1     1   3524 use Moose;
  1         3  
  1         14  
365 1     1   6746 use MooseX::StrictConstructor;
  1         2  
  1         5  
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::Object::AWS::Cognito::UserPool::DeviceConfiguration->new( %$_ );
385             }
386             };
387              
388             package Cfn::Resource::Properties::Object::AWS::Cognito::UserPool::DeviceConfiguration {
389 1     1   3685 use Moose;
  1         4  
  1         6  
390 1     1   7099 use MooseX::StrictConstructor;
  1         5  
  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::Object::AWS::Cognito::UserPool::AdminCreateUserConfig->new( %$_ );
407             }
408             };
409              
410             package Cfn::Resource::Properties::Object::AWS::Cognito::UserPool::AdminCreateUserConfig {
411 1     1   3578 use Moose;
  1         6  
  1         6  
412 1     1   6788 use MooseX::StrictConstructor;
  1         5  
  1         5  
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::Object::AWS::Cognito::UserPool::AccountRecoverySetting->new( %$_ );
430             }
431             };
432              
433             package Cfn::Resource::Properties::Object::AWS::Cognito::UserPool::AccountRecoverySetting {
434 1     1   3417 use Moose;
  1         3  
  1         6  
435 1     1   6671 use MooseX::StrictConstructor;
  1         3  
  1         5  
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   3353 use Moose;
  1         3  
  1         5  
443 1     1   6632 use MooseX::StrictConstructor;
  1         3  
  1         4  
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;
471             ### main pod documentation begin ###
472              
473             =encoding UTF-8
474              
475             =head1 NAME
476              
477             Cfn::Resource::AWS::Cognito::UserPool - Cfn resource for AWS::Cognito::UserPool
478              
479             =head1 DESCRIPTION
480              
481             This module implements a Perl module that represents the CloudFormation object AWS::Cognito::UserPool.
482              
483             See L<Cfn> for more information on how to use it.
484              
485             =head1 AUTHOR
486              
487             Jose Luis Martinez
488             CAPSiDE
489             jlmartinez@capside.com
490              
491             =head1 COPYRIGHT and LICENSE
492              
493             Copyright (c) 2013 by CAPSiDE
494             This code is distributed under the Apache 2 License. The full text of the
495             license can be found in the LICENSE file included with this module.
496              
497             =cut