accountRecoverySetting

@JvmName(name = "nomuhsqrfncrkayr")
suspend fun accountRecoverySetting(value: Output<UserPoolAccountRecoverySettingArgs>)
@JvmName(name = "djctjrcatyxgcgvp")
suspend fun accountRecoverySetting(value: UserPoolAccountRecoverySettingArgs?)

Parameters

value

Use this setting to define which verified available method a user can use to recover their password when they call ForgotPassword . It allows you to define a preferred method when a user has more than one method available. With this setting, SMS does not qualify for a valid password recovery mechanism if the user also has SMS MFA enabled. In the absence of this setting, Cognito uses the legacy behavior to determine the recovery method where SMS is preferred over email.


@JvmName(name = "mnmkuifkisphakqa")
suspend fun accountRecoverySetting(argument: suspend UserPoolAccountRecoverySettingArgsBuilder.() -> Unit)

Parameters

argument

Use this setting to define which verified available method a user can use to recover their password when they call ForgotPassword . It allows you to define a preferred method when a user has more than one method available. With this setting, SMS does not qualify for a valid password recovery mechanism if the user also has SMS MFA enabled. In the absence of this setting, Cognito uses the legacy behavior to determine the recovery method where SMS is preferred over email.