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.

Sets or shows user pool email message configuration for MFA. Includes the subject and body of the email message template for MFA messages. To activate this setting, advanced security features must be active in your user pool.

Inheritance Hierarchy

System.Object
  Amazon.CognitoIdentityProvider.Model.EmailMfaConfigType

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

Syntax

C#
public class EmailMfaConfigType

The EmailMfaConfigType type exposes the following members

Constructors

NameDescription
Public Method EmailMfaConfigType()

Properties

NameTypeDescription
Public Property Message System.String

Gets and sets the property Message.

The template for the email message that your user pool sends to users with an MFA code. The message must contain the {####} placeholder. In the message, Amazon Cognito replaces this placeholder with the code. If you don't provide this parameter, Amazon Cognito sends messages in the default format.

Public Property Subject System.String

Gets and sets the property Subject.

The subject of the email message that your user pool sends to users with an MFA code.

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