KeepOriginalAttrs Struct
Attributes that will be kept until the user verifies the changed attribute.
Example
ts
new cognito.UserPool(this, 'myuserpool', {
// ...
signInAliases: { username: true },
autoVerify: { email: true, phone: true },
keepOriginal: {
email: true,
phone: true,
},
});
Properties
emailoptionalbooleanemailoptionalboolemailoptionalBooleanEmailoptionalboolEmailoptional*bool= false#Whether the email address of the user should remain the original value until the new email address is verified.
phoneoptionalbooleanphoneoptionalboolphoneoptionalBooleanPhoneoptionalboolPhoneoptional*bool= false#Whether the phone number of the user should remain the original value until the new phone number is verified.