AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

User preferences for multi-factor authentication with email messages. Activates or deactivates email MFA and sets it as the preferred MFA method when multiple methods are available. To activate this setting, your user pool must be in the Essentials tier or higher.

Inheritance Hierarchy

System.Object
  Amazon.CognitoIdentityProvider.Model.EmailMfaSettingsType

Namespace: Amazon.CognitoIdentityProvider.Model
Assembly: AWSSDK.CognitoIdentityProvider.dll
Version: 3.x.y.z

Syntax

C#
public class EmailMfaSettingsType

The EmailMfaSettingsType type exposes the following members

Constructors

NameDescription
Public Method EmailMfaSettingsType()

Properties

NameTypeDescription
Public Property Enabled System.Boolean

Gets and sets the property Enabled.

Specifies whether email message MFA is active for a user. When the value of this parameter is Enabled, the user will be prompted for MFA during all sign-in attempts, unless device tracking is turned on and the device has been trusted.

Public Property PreferredMfa System.Boolean

Gets and sets the property PreferredMfa.

Specifies whether email message MFA is the user's preferred method.

Version Information

.NET:
Supported in: 8.0 and newer, Core 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5 and newer, 3.5