enabledMfas

@JvmName(name = "qgckkoktxdkhhieb")
suspend fun enabledMfas(value: Output<List<String>>)
@JvmName(name = "nwcpwwfbefrbriet")
suspend fun enabledMfas(value: List<String>?)

Parameters

value

Set enabled MFA options on a specified user pool. To disable all MFAs after it has been enabled, set MfaConfiguration to OFF and remove EnabledMfas. MFAs can only be all disabled if MfaConfiguration is OFF . After you enable SMS_MFA , you can only disable it by setting MfaConfiguration to OFF . Can be one of the following values:

  • SMS_MFA - Enables MFA with SMS for the user pool. To select this option, you must also provide values for SmsConfiguration .

  • SOFTWARE_TOKEN_MFA - Enables software token MFA for the user pool.

  • EMAIL_OTP - Enables MFA with email for the user pool. To select this option, you must provide values for EmailConfiguration and within those, set EmailSendingAccount to DEVELOPER . Allowed values: SMS_MFA | SOFTWARE_TOKEN_MFA | EMAIL_OTP


@JvmName(name = "otyvsbcwuivcwtqk")
suspend fun enabledMfas(vararg values: Output<String>)


@JvmName(name = "hvpfjblcbgotwilv")
suspend fun enabledMfas(values: List<Output<String>>)
@JvmName(name = "xynulisxidfduafv")
suspend fun enabledMfas(vararg values: String)

Parameters

values

Set enabled MFA options on a specified user pool. To disable all MFAs after it has been enabled, set MfaConfiguration to OFF and remove EnabledMfas. MFAs can only be all disabled if MfaConfiguration is OFF . After you enable SMS_MFA , you can only disable it by setting MfaConfiguration to OFF . Can be one of the following values:

  • SMS_MFA - Enables MFA with SMS for the user pool. To select this option, you must also provide values for SmsConfiguration .

  • SOFTWARE_TOKEN_MFA - Enables software token MFA for the user pool.

  • EMAIL_OTP - Enables MFA with email for the user pool. To select this option, you must provide values for EmailConfiguration and within those, set EmailSendingAccount to DEVELOPER . Allowed values: SMS_MFA | SOFTWARE_TOKEN_MFA | EMAIL_OTP