line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
# AWS::Cognito::UserPool generated from spec 9.1.0 |
2
|
1
|
|
|
1
|
|
740
|
use Moose::Util::TypeConstraints; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
11
|
|
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
|
|
2278
|
use Moose; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
8
|
|
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
|
1627
|
[ '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
|
|
7257
|
use Moose; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
6
|
|
38
|
1
|
|
|
1
|
|
6605
|
use MooseX::StrictConstructor; |
|
1
|
|
|
|
|
2
|
|
|
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
|
|
|
|
|
|
|
|
45
|
|
|
|
|
|
|
subtype 'Cfn::Resource::Properties::AWS::Cognito::UserPool::PasswordPolicy', |
46
|
|
|
|
|
|
|
as 'Cfn::Value'; |
47
|
|
|
|
|
|
|
|
48
|
|
|
|
|
|
|
coerce 'Cfn::Resource::Properties::AWS::Cognito::UserPool::PasswordPolicy', |
49
|
|
|
|
|
|
|
from 'HashRef', |
50
|
|
|
|
|
|
|
via { |
51
|
|
|
|
|
|
|
if (my $f = Cfn::TypeLibrary::try_function($_)) { |
52
|
|
|
|
|
|
|
return $f |
53
|
|
|
|
|
|
|
} else { |
54
|
|
|
|
|
|
|
return Cfn::Resource::Properties::AWS::Cognito::UserPool::PasswordPolicyValue->new( %$_ ); |
55
|
|
|
|
|
|
|
} |
56
|
|
|
|
|
|
|
}; |
57
|
|
|
|
|
|
|
|
58
|
|
|
|
|
|
|
package Cfn::Resource::Properties::AWS::Cognito::UserPool::PasswordPolicyValue { |
59
|
1
|
|
|
1
|
|
3654
|
use Moose; |
|
1
|
|
|
|
|
4
|
|
|
1
|
|
|
|
|
7
|
|
60
|
1
|
|
|
1
|
|
6661
|
use MooseX::StrictConstructor; |
|
1
|
|
|
|
|
5
|
|
|
1
|
|
|
|
|
6
|
|
61
|
|
|
|
|
|
|
extends 'Cfn::Value::TypedValue'; |
62
|
|
|
|
|
|
|
|
63
|
|
|
|
|
|
|
has MinimumLength => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
64
|
|
|
|
|
|
|
has RequireLowercase => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
65
|
|
|
|
|
|
|
has RequireNumbers => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
66
|
|
|
|
|
|
|
has RequireSymbols => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
67
|
|
|
|
|
|
|
has RequireUppercase => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
68
|
|
|
|
|
|
|
has TemporaryPasswordValidityDays => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
69
|
|
|
|
|
|
|
} |
70
|
|
|
|
|
|
|
|
71
|
|
|
|
|
|
|
subtype 'Cfn::Resource::Properties::AWS::Cognito::UserPool::NumberAttributeConstraints', |
72
|
|
|
|
|
|
|
as 'Cfn::Value'; |
73
|
|
|
|
|
|
|
|
74
|
|
|
|
|
|
|
coerce 'Cfn::Resource::Properties::AWS::Cognito::UserPool::NumberAttributeConstraints', |
75
|
|
|
|
|
|
|
from 'HashRef', |
76
|
|
|
|
|
|
|
via { |
77
|
|
|
|
|
|
|
if (my $f = Cfn::TypeLibrary::try_function($_)) { |
78
|
|
|
|
|
|
|
return $f |
79
|
|
|
|
|
|
|
} else { |
80
|
|
|
|
|
|
|
return Cfn::Resource::Properties::AWS::Cognito::UserPool::NumberAttributeConstraintsValue->new( %$_ ); |
81
|
|
|
|
|
|
|
} |
82
|
|
|
|
|
|
|
}; |
83
|
|
|
|
|
|
|
|
84
|
|
|
|
|
|
|
package Cfn::Resource::Properties::AWS::Cognito::UserPool::NumberAttributeConstraintsValue { |
85
|
1
|
|
|
1
|
|
3463
|
use Moose; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
7
|
|
86
|
1
|
|
|
1
|
|
6696
|
use MooseX::StrictConstructor; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
6
|
|
87
|
|
|
|
|
|
|
extends 'Cfn::Value::TypedValue'; |
88
|
|
|
|
|
|
|
|
89
|
|
|
|
|
|
|
has MaxValue => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
90
|
|
|
|
|
|
|
has MinValue => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
91
|
|
|
|
|
|
|
} |
92
|
|
|
|
|
|
|
|
93
|
|
|
|
|
|
|
subtype 'Cfn::Resource::Properties::AWS::Cognito::UserPool::InviteMessageTemplate', |
94
|
|
|
|
|
|
|
as 'Cfn::Value'; |
95
|
|
|
|
|
|
|
|
96
|
|
|
|
|
|
|
coerce 'Cfn::Resource::Properties::AWS::Cognito::UserPool::InviteMessageTemplate', |
97
|
|
|
|
|
|
|
from 'HashRef', |
98
|
|
|
|
|
|
|
via { |
99
|
|
|
|
|
|
|
if (my $f = Cfn::TypeLibrary::try_function($_)) { |
100
|
|
|
|
|
|
|
return $f |
101
|
|
|
|
|
|
|
} else { |
102
|
|
|
|
|
|
|
return Cfn::Resource::Properties::AWS::Cognito::UserPool::InviteMessageTemplateValue->new( %$_ ); |
103
|
|
|
|
|
|
|
} |
104
|
|
|
|
|
|
|
}; |
105
|
|
|
|
|
|
|
|
106
|
|
|
|
|
|
|
package Cfn::Resource::Properties::AWS::Cognito::UserPool::InviteMessageTemplateValue { |
107
|
1
|
|
|
1
|
|
3388
|
use Moose; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
7
|
|
108
|
1
|
|
|
1
|
|
6639
|
use MooseX::StrictConstructor; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
5
|
|
109
|
|
|
|
|
|
|
extends 'Cfn::Value::TypedValue'; |
110
|
|
|
|
|
|
|
|
111
|
|
|
|
|
|
|
has EmailMessage => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
112
|
|
|
|
|
|
|
has EmailSubject => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
113
|
|
|
|
|
|
|
has SMSMessage => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
114
|
|
|
|
|
|
|
} |
115
|
|
|
|
|
|
|
|
116
|
|
|
|
|
|
|
subtype 'Cfn::Resource::Properties::AWS::Cognito::UserPool::VerificationMessageTemplate', |
117
|
|
|
|
|
|
|
as 'Cfn::Value'; |
118
|
|
|
|
|
|
|
|
119
|
|
|
|
|
|
|
coerce 'Cfn::Resource::Properties::AWS::Cognito::UserPool::VerificationMessageTemplate', |
120
|
|
|
|
|
|
|
from 'HashRef', |
121
|
|
|
|
|
|
|
via { |
122
|
|
|
|
|
|
|
if (my $f = Cfn::TypeLibrary::try_function($_)) { |
123
|
|
|
|
|
|
|
return $f |
124
|
|
|
|
|
|
|
} else { |
125
|
|
|
|
|
|
|
return Cfn::Resource::Properties::AWS::Cognito::UserPool::VerificationMessageTemplateValue->new( %$_ ); |
126
|
|
|
|
|
|
|
} |
127
|
|
|
|
|
|
|
}; |
128
|
|
|
|
|
|
|
|
129
|
|
|
|
|
|
|
package Cfn::Resource::Properties::AWS::Cognito::UserPool::VerificationMessageTemplateValue { |
130
|
1
|
|
|
1
|
|
3475
|
use Moose; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
6
|
|
131
|
1
|
|
|
1
|
|
6543
|
use MooseX::StrictConstructor; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
5
|
|
132
|
|
|
|
|
|
|
extends 'Cfn::Value::TypedValue'; |
133
|
|
|
|
|
|
|
|
134
|
|
|
|
|
|
|
has DefaultEmailOption => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
135
|
|
|
|
|
|
|
has EmailMessage => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
136
|
|
|
|
|
|
|
has EmailMessageByLink => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
137
|
|
|
|
|
|
|
has EmailSubject => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
138
|
|
|
|
|
|
|
has EmailSubjectByLink => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
139
|
|
|
|
|
|
|
has SmsMessage => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
140
|
|
|
|
|
|
|
} |
141
|
|
|
|
|
|
|
|
142
|
|
|
|
|
|
|
subtype 'Cfn::Resource::Properties::AWS::Cognito::UserPool::UserPoolAddOns', |
143
|
|
|
|
|
|
|
as 'Cfn::Value'; |
144
|
|
|
|
|
|
|
|
145
|
|
|
|
|
|
|
coerce 'Cfn::Resource::Properties::AWS::Cognito::UserPool::UserPoolAddOns', |
146
|
|
|
|
|
|
|
from 'HashRef', |
147
|
|
|
|
|
|
|
via { |
148
|
|
|
|
|
|
|
if (my $f = Cfn::TypeLibrary::try_function($_)) { |
149
|
|
|
|
|
|
|
return $f |
150
|
|
|
|
|
|
|
} else { |
151
|
|
|
|
|
|
|
return Cfn::Resource::Properties::AWS::Cognito::UserPool::UserPoolAddOnsValue->new( %$_ ); |
152
|
|
|
|
|
|
|
} |
153
|
|
|
|
|
|
|
}; |
154
|
|
|
|
|
|
|
|
155
|
|
|
|
|
|
|
package Cfn::Resource::Properties::AWS::Cognito::UserPool::UserPoolAddOnsValue { |
156
|
1
|
|
|
1
|
|
3510
|
use Moose; |
|
1
|
|
|
|
|
6
|
|
|
1
|
|
|
|
|
8
|
|
157
|
1
|
|
|
1
|
|
6621
|
use MooseX::StrictConstructor; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
5
|
|
158
|
|
|
|
|
|
|
extends 'Cfn::Value::TypedValue'; |
159
|
|
|
|
|
|
|
|
160
|
|
|
|
|
|
|
has AdvancedSecurityMode => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
161
|
|
|
|
|
|
|
} |
162
|
|
|
|
|
|
|
|
163
|
|
|
|
|
|
|
subtype 'Cfn::Resource::Properties::AWS::Cognito::UserPool::SmsConfiguration', |
164
|
|
|
|
|
|
|
as 'Cfn::Value'; |
165
|
|
|
|
|
|
|
|
166
|
|
|
|
|
|
|
coerce 'Cfn::Resource::Properties::AWS::Cognito::UserPool::SmsConfiguration', |
167
|
|
|
|
|
|
|
from 'HashRef', |
168
|
|
|
|
|
|
|
via { |
169
|
|
|
|
|
|
|
if (my $f = Cfn::TypeLibrary::try_function($_)) { |
170
|
|
|
|
|
|
|
return $f |
171
|
|
|
|
|
|
|
} else { |
172
|
|
|
|
|
|
|
return Cfn::Resource::Properties::AWS::Cognito::UserPool::SmsConfigurationValue->new( %$_ ); |
173
|
|
|
|
|
|
|
} |
174
|
|
|
|
|
|
|
}; |
175
|
|
|
|
|
|
|
|
176
|
|
|
|
|
|
|
package Cfn::Resource::Properties::AWS::Cognito::UserPool::SmsConfigurationValue { |
177
|
1
|
|
|
1
|
|
3434
|
use Moose; |
|
1
|
|
|
|
|
5
|
|
|
1
|
|
|
|
|
6
|
|
178
|
1
|
|
|
1
|
|
6541
|
use MooseX::StrictConstructor; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
16
|
|
179
|
|
|
|
|
|
|
extends 'Cfn::Value::TypedValue'; |
180
|
|
|
|
|
|
|
|
181
|
|
|
|
|
|
|
has ExternalId => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
182
|
|
|
|
|
|
|
has SnsCallerArn => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
183
|
|
|
|
|
|
|
} |
184
|
|
|
|
|
|
|
subtype 'ArrayOfCfn::Resource::Properties::AWS::Cognito::UserPool::SchemaAttribute', |
185
|
|
|
|
|
|
|
as 'Cfn::Value', |
186
|
|
|
|
|
|
|
where { $_->isa('Cfn::Value::Array') or $_->isa('Cfn::Value::Function') }, |
187
|
|
|
|
|
|
|
message { "$_ is not a Cfn::Value or a Cfn::Value::Function" }; |
188
|
|
|
|
|
|
|
|
189
|
|
|
|
|
|
|
coerce 'ArrayOfCfn::Resource::Properties::AWS::Cognito::UserPool::SchemaAttribute', |
190
|
|
|
|
|
|
|
from 'HashRef', |
191
|
|
|
|
|
|
|
via { |
192
|
|
|
|
|
|
|
if (my $f = Cfn::TypeLibrary::try_function($_)) { |
193
|
|
|
|
|
|
|
return $f |
194
|
|
|
|
|
|
|
} else { |
195
|
|
|
|
|
|
|
die 'Only accepts functions'; |
196
|
|
|
|
|
|
|
} |
197
|
|
|
|
|
|
|
}, |
198
|
|
|
|
|
|
|
from 'ArrayRef', |
199
|
|
|
|
|
|
|
via { |
200
|
|
|
|
|
|
|
Cfn::Value::Array->new(Value => [ |
201
|
|
|
|
|
|
|
map { |
202
|
|
|
|
|
|
|
Moose::Util::TypeConstraints::find_type_constraint('Cfn::Resource::Properties::AWS::Cognito::UserPool::SchemaAttribute')->coerce($_) |
203
|
|
|
|
|
|
|
} @$_ |
204
|
|
|
|
|
|
|
]); |
205
|
|
|
|
|
|
|
}; |
206
|
|
|
|
|
|
|
|
207
|
|
|
|
|
|
|
subtype 'Cfn::Resource::Properties::AWS::Cognito::UserPool::SchemaAttribute', |
208
|
|
|
|
|
|
|
as 'Cfn::Value'; |
209
|
|
|
|
|
|
|
|
210
|
|
|
|
|
|
|
coerce 'Cfn::Resource::Properties::AWS::Cognito::UserPool::SchemaAttribute', |
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::SchemaAttributeValue->new( %$_ ); |
217
|
|
|
|
|
|
|
} |
218
|
|
|
|
|
|
|
}; |
219
|
|
|
|
|
|
|
|
220
|
|
|
|
|
|
|
package Cfn::Resource::Properties::AWS::Cognito::UserPool::SchemaAttributeValue { |
221
|
1
|
|
|
1
|
|
3674
|
use Moose; |
|
1
|
|
|
|
|
4
|
|
|
1
|
|
|
|
|
8
|
|
222
|
1
|
|
|
1
|
|
6658
|
use MooseX::StrictConstructor; |
|
1
|
|
|
|
|
5
|
|
|
1
|
|
|
|
|
5
|
|
223
|
|
|
|
|
|
|
extends 'Cfn::Value::TypedValue'; |
224
|
|
|
|
|
|
|
|
225
|
|
|
|
|
|
|
has AttributeDataType => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
226
|
|
|
|
|
|
|
has DeveloperOnlyAttribute => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
227
|
|
|
|
|
|
|
has Mutable => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
228
|
|
|
|
|
|
|
has Name => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
229
|
|
|
|
|
|
|
has NumberAttributeConstraints => (isa => 'Cfn::Resource::Properties::AWS::Cognito::UserPool::NumberAttributeConstraints', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
230
|
|
|
|
|
|
|
has Required => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
231
|
|
|
|
|
|
|
has StringAttributeConstraints => (isa => 'Cfn::Resource::Properties::AWS::Cognito::UserPool::StringAttributeConstraints', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
232
|
|
|
|
|
|
|
} |
233
|
|
|
|
|
|
|
|
234
|
|
|
|
|
|
|
subtype 'Cfn::Resource::Properties::AWS::Cognito::UserPool::Policies', |
235
|
|
|
|
|
|
|
as 'Cfn::Value'; |
236
|
|
|
|
|
|
|
|
237
|
|
|
|
|
|
|
coerce 'Cfn::Resource::Properties::AWS::Cognito::UserPool::Policies', |
238
|
|
|
|
|
|
|
from 'HashRef', |
239
|
|
|
|
|
|
|
via { |
240
|
|
|
|
|
|
|
if (my $f = Cfn::TypeLibrary::try_function($_)) { |
241
|
|
|
|
|
|
|
return $f |
242
|
|
|
|
|
|
|
} else { |
243
|
|
|
|
|
|
|
return Cfn::Resource::Properties::AWS::Cognito::UserPool::PoliciesValue->new( %$_ ); |
244
|
|
|
|
|
|
|
} |
245
|
|
|
|
|
|
|
}; |
246
|
|
|
|
|
|
|
|
247
|
|
|
|
|
|
|
package Cfn::Resource::Properties::AWS::Cognito::UserPool::PoliciesValue { |
248
|
1
|
|
|
1
|
|
3535
|
use Moose; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
7
|
|
249
|
1
|
|
|
1
|
|
6606
|
use MooseX::StrictConstructor; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
5
|
|
250
|
|
|
|
|
|
|
extends 'Cfn::Value::TypedValue'; |
251
|
|
|
|
|
|
|
|
252
|
|
|
|
|
|
|
has PasswordPolicy => (isa => 'Cfn::Resource::Properties::AWS::Cognito::UserPool::PasswordPolicy', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
253
|
|
|
|
|
|
|
} |
254
|
|
|
|
|
|
|
|
255
|
|
|
|
|
|
|
subtype 'Cfn::Resource::Properties::AWS::Cognito::UserPool::LambdaConfig', |
256
|
|
|
|
|
|
|
as 'Cfn::Value'; |
257
|
|
|
|
|
|
|
|
258
|
|
|
|
|
|
|
coerce 'Cfn::Resource::Properties::AWS::Cognito::UserPool::LambdaConfig', |
259
|
|
|
|
|
|
|
from 'HashRef', |
260
|
|
|
|
|
|
|
via { |
261
|
|
|
|
|
|
|
if (my $f = Cfn::TypeLibrary::try_function($_)) { |
262
|
|
|
|
|
|
|
return $f |
263
|
|
|
|
|
|
|
} else { |
264
|
|
|
|
|
|
|
return Cfn::Resource::Properties::AWS::Cognito::UserPool::LambdaConfigValue->new( %$_ ); |
265
|
|
|
|
|
|
|
} |
266
|
|
|
|
|
|
|
}; |
267
|
|
|
|
|
|
|
|
268
|
|
|
|
|
|
|
package Cfn::Resource::Properties::AWS::Cognito::UserPool::LambdaConfigValue { |
269
|
1
|
|
|
1
|
|
3370
|
use Moose; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
7
|
|
270
|
1
|
|
|
1
|
|
6622
|
use MooseX::StrictConstructor; |
|
1
|
|
|
|
|
4
|
|
|
1
|
|
|
|
|
7
|
|
271
|
|
|
|
|
|
|
extends 'Cfn::Value::TypedValue'; |
272
|
|
|
|
|
|
|
|
273
|
|
|
|
|
|
|
has CreateAuthChallenge => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
274
|
|
|
|
|
|
|
has CustomMessage => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
275
|
|
|
|
|
|
|
has DefineAuthChallenge => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
276
|
|
|
|
|
|
|
has PostAuthentication => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
277
|
|
|
|
|
|
|
has PostConfirmation => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
278
|
|
|
|
|
|
|
has PreAuthentication => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
279
|
|
|
|
|
|
|
has PreSignUp => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
280
|
|
|
|
|
|
|
has PreTokenGeneration => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
281
|
|
|
|
|
|
|
has UserMigration => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
282
|
|
|
|
|
|
|
has VerifyAuthChallengeResponse => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
283
|
|
|
|
|
|
|
} |
284
|
|
|
|
|
|
|
|
285
|
|
|
|
|
|
|
subtype 'Cfn::Resource::Properties::AWS::Cognito::UserPool::EmailConfiguration', |
286
|
|
|
|
|
|
|
as 'Cfn::Value'; |
287
|
|
|
|
|
|
|
|
288
|
|
|
|
|
|
|
coerce 'Cfn::Resource::Properties::AWS::Cognito::UserPool::EmailConfiguration', |
289
|
|
|
|
|
|
|
from 'HashRef', |
290
|
|
|
|
|
|
|
via { |
291
|
|
|
|
|
|
|
if (my $f = Cfn::TypeLibrary::try_function($_)) { |
292
|
|
|
|
|
|
|
return $f |
293
|
|
|
|
|
|
|
} else { |
294
|
|
|
|
|
|
|
return Cfn::Resource::Properties::AWS::Cognito::UserPool::EmailConfigurationValue->new( %$_ ); |
295
|
|
|
|
|
|
|
} |
296
|
|
|
|
|
|
|
}; |
297
|
|
|
|
|
|
|
|
298
|
|
|
|
|
|
|
package Cfn::Resource::Properties::AWS::Cognito::UserPool::EmailConfigurationValue { |
299
|
1
|
|
|
1
|
|
3928
|
use Moose; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
6
|
|
300
|
1
|
|
|
1
|
|
6713
|
use MooseX::StrictConstructor; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
19
|
|
301
|
|
|
|
|
|
|
extends 'Cfn::Value::TypedValue'; |
302
|
|
|
|
|
|
|
|
303
|
|
|
|
|
|
|
has ConfigurationSet => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
304
|
|
|
|
|
|
|
has EmailSendingAccount => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
305
|
|
|
|
|
|
|
has From => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
306
|
|
|
|
|
|
|
has ReplyToEmailAddress => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
307
|
|
|
|
|
|
|
has SourceArn => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
308
|
|
|
|
|
|
|
} |
309
|
|
|
|
|
|
|
|
310
|
|
|
|
|
|
|
subtype 'Cfn::Resource::Properties::AWS::Cognito::UserPool::DeviceConfiguration', |
311
|
|
|
|
|
|
|
as 'Cfn::Value'; |
312
|
|
|
|
|
|
|
|
313
|
|
|
|
|
|
|
coerce 'Cfn::Resource::Properties::AWS::Cognito::UserPool::DeviceConfiguration', |
314
|
|
|
|
|
|
|
from 'HashRef', |
315
|
|
|
|
|
|
|
via { |
316
|
|
|
|
|
|
|
if (my $f = Cfn::TypeLibrary::try_function($_)) { |
317
|
|
|
|
|
|
|
return $f |
318
|
|
|
|
|
|
|
} else { |
319
|
|
|
|
|
|
|
return Cfn::Resource::Properties::AWS::Cognito::UserPool::DeviceConfigurationValue->new( %$_ ); |
320
|
|
|
|
|
|
|
} |
321
|
|
|
|
|
|
|
}; |
322
|
|
|
|
|
|
|
|
323
|
|
|
|
|
|
|
package Cfn::Resource::Properties::AWS::Cognito::UserPool::DeviceConfigurationValue { |
324
|
1
|
|
|
1
|
|
3461
|
use Moose; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
8
|
|
325
|
1
|
|
|
1
|
|
6590
|
use MooseX::StrictConstructor; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
5
|
|
326
|
|
|
|
|
|
|
extends 'Cfn::Value::TypedValue'; |
327
|
|
|
|
|
|
|
|
328
|
|
|
|
|
|
|
has ChallengeRequiredOnNewDevice => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
329
|
|
|
|
|
|
|
has DeviceOnlyRememberedOnUserPrompt => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
330
|
|
|
|
|
|
|
} |
331
|
|
|
|
|
|
|
|
332
|
|
|
|
|
|
|
subtype 'Cfn::Resource::Properties::AWS::Cognito::UserPool::AdminCreateUserConfig', |
333
|
|
|
|
|
|
|
as 'Cfn::Value'; |
334
|
|
|
|
|
|
|
|
335
|
|
|
|
|
|
|
coerce 'Cfn::Resource::Properties::AWS::Cognito::UserPool::AdminCreateUserConfig', |
336
|
|
|
|
|
|
|
from 'HashRef', |
337
|
|
|
|
|
|
|
via { |
338
|
|
|
|
|
|
|
if (my $f = Cfn::TypeLibrary::try_function($_)) { |
339
|
|
|
|
|
|
|
return $f |
340
|
|
|
|
|
|
|
} else { |
341
|
|
|
|
|
|
|
return Cfn::Resource::Properties::AWS::Cognito::UserPool::AdminCreateUserConfigValue->new( %$_ ); |
342
|
|
|
|
|
|
|
} |
343
|
|
|
|
|
|
|
}; |
344
|
|
|
|
|
|
|
|
345
|
|
|
|
|
|
|
package Cfn::Resource::Properties::AWS::Cognito::UserPool::AdminCreateUserConfigValue { |
346
|
1
|
|
|
1
|
|
3419
|
use Moose; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
8
|
|
347
|
1
|
|
|
1
|
|
6628
|
use MooseX::StrictConstructor; |
|
1
|
|
|
|
|
4
|
|
|
1
|
|
|
|
|
7
|
|
348
|
|
|
|
|
|
|
extends 'Cfn::Value::TypedValue'; |
349
|
|
|
|
|
|
|
|
350
|
|
|
|
|
|
|
has AllowAdminCreateUserOnly => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
351
|
|
|
|
|
|
|
has InviteMessageTemplate => (isa => 'Cfn::Resource::Properties::AWS::Cognito::UserPool::InviteMessageTemplate', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
352
|
|
|
|
|
|
|
has UnusedAccountValidityDays => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
353
|
|
|
|
|
|
|
} |
354
|
|
|
|
|
|
|
|
355
|
|
|
|
|
|
|
package Cfn::Resource::Properties::AWS::Cognito::UserPool { |
356
|
1
|
|
|
1
|
|
3316
|
use Moose; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
5
|
|
357
|
1
|
|
|
1
|
|
6567
|
use MooseX::StrictConstructor; |
|
1
|
|
|
|
|
4
|
|
|
1
|
|
|
|
|
5
|
|
358
|
|
|
|
|
|
|
extends 'Cfn::Resource::Properties'; |
359
|
|
|
|
|
|
|
|
360
|
|
|
|
|
|
|
has AdminCreateUserConfig => (isa => 'Cfn::Resource::Properties::AWS::Cognito::UserPool::AdminCreateUserConfig', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
361
|
|
|
|
|
|
|
has AliasAttributes => (isa => 'Cfn::Value::Array|Cfn::Value::Function|Cfn::DynamicValue', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
362
|
|
|
|
|
|
|
has AutoVerifiedAttributes => (isa => 'Cfn::Value::Array|Cfn::Value::Function|Cfn::DynamicValue', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
363
|
|
|
|
|
|
|
has DeviceConfiguration => (isa => 'Cfn::Resource::Properties::AWS::Cognito::UserPool::DeviceConfiguration', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
364
|
|
|
|
|
|
|
has EmailConfiguration => (isa => 'Cfn::Resource::Properties::AWS::Cognito::UserPool::EmailConfiguration', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
365
|
|
|
|
|
|
|
has EmailVerificationMessage => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
366
|
|
|
|
|
|
|
has EmailVerificationSubject => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
367
|
|
|
|
|
|
|
has EnabledMfas => (isa => 'Cfn::Value::Array|Cfn::Value::Function|Cfn::DynamicValue', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
368
|
|
|
|
|
|
|
has LambdaConfig => (isa => 'Cfn::Resource::Properties::AWS::Cognito::UserPool::LambdaConfig', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
369
|
|
|
|
|
|
|
has MfaConfiguration => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
370
|
|
|
|
|
|
|
has Policies => (isa => 'Cfn::Resource::Properties::AWS::Cognito::UserPool::Policies', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
371
|
|
|
|
|
|
|
has Schema => (isa => 'ArrayOfCfn::Resource::Properties::AWS::Cognito::UserPool::SchemaAttribute', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
372
|
|
|
|
|
|
|
has SmsAuthenticationMessage => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
373
|
|
|
|
|
|
|
has SmsConfiguration => (isa => 'Cfn::Resource::Properties::AWS::Cognito::UserPool::SmsConfiguration', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
374
|
|
|
|
|
|
|
has SmsVerificationMessage => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
375
|
|
|
|
|
|
|
has UserPoolAddOns => (isa => 'Cfn::Resource::Properties::AWS::Cognito::UserPool::UserPoolAddOns', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
376
|
|
|
|
|
|
|
has UserPoolName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
377
|
|
|
|
|
|
|
has UserPoolTags => (isa => 'Cfn::Value::Json|Cfn::DynamicValue', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
378
|
|
|
|
|
|
|
has UsernameAttributes => (isa => 'Cfn::Value::Array|Cfn::Value::Function|Cfn::DynamicValue', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
379
|
|
|
|
|
|
|
has VerificationMessageTemplate => (isa => 'Cfn::Resource::Properties::AWS::Cognito::UserPool::VerificationMessageTemplate', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
380
|
|
|
|
|
|
|
} |
381
|
|
|
|
|
|
|
|
382
|
|
|
|
|
|
|
1; |