accountRecoverySetting

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

Parameters

value

The available verified method a user can use to recover their password when they call ForgotPassword . You can use this setting to define a preferred method when a user has more than one method available. With this setting, SMS doesn't qualify for a valid password recovery mechanism if the user also has SMS multi-factor authentication (MFA) activated. In the absence of this setting, Amazon Cognito uses the legacy behavior to determine the recovery method where SMS is preferred through email.


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

Parameters

argument

The available verified method a user can use to recover their password when they call ForgotPassword . You can use this setting to define a preferred method when a user has more than one method available. With this setting, SMS doesn't qualify for a valid password recovery mechanism if the user also has SMS multi-factor authentication (MFA) activated. In the absence of this setting, Amazon Cognito uses the legacy behavior to determine the recovery method where SMS is preferred through email.