-
Notifications
You must be signed in to change notification settings - Fork 4.4k
Expand file tree
/
Copy pathCognitoUserPool.yml
More file actions
44 lines (44 loc) · 1.12 KB
/
CognitoUserPool.yml
File metadata and controls
44 lines (44 loc) · 1.12 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
Type: "AWS::Cognito::UserPool"
Properties:
MfaConfiguration: OFF
UserPoolName: ${self:custom.userPoolName}
AccountRecoverySetting:
RecoveryMechanisms:
- Name: verified_email
Priority: 1
AutoVerifiedAttributes:
- email
VerificationMessageTemplate:
DefaultEmailOption: CONFIRM_WITH_LINK
EmailVerificationSubject: 'Your verification link'
EmailVerificationMessage: 'Please click the link below to verify your email address. {####}'
UsernameAttributes:
- email
Policies:
PasswordPolicy:
MinimumLength: 6
RequireLowercase: True
RequireNumbers: True
RequireSymbols: False
RequireUppercase: True
Schema:
- Name: name
AttributeDataType: String
Mutable: true
Required: true
- Name: email
AttributeDataType: String
Mutable: true
Required: true
- Name: picture
AttributeDataType: String
Mutable: true
Required: false
- Name: profile
AttributeDataType: String
Mutable: true
Required: false
- Name: zoneinfo
AttributeDataType: String
Mutable: true
Required: false