Skip to content

EmailMfaConfigType

Source code in docs_src/capo_cognito_identity_provider/types/email_mfa_config_type.py
class EmailMfaConfigType(TypedDict, closed=True):
    message: NotRequired[
        "capo_cognito_identity_provider.types.email_mfa_message_type.EmailMfaMessageType"
    ]
    """<p>The template for the email messages that your user pool sends to users with codes for MFA and sign-in with email OTPs. The message must contain the <code>{####}</code> 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.</p>"""
    subject: NotRequired[
        "capo_cognito_identity_provider.types.email_mfa_subject_type.EmailMfaSubjectType"
    ]
    """<p>The subject of the email messages that your user pool sends to users with codes for MFA and email OTP sign-in.</p>"""

message instance-attribute

message: NotRequired[EmailMfaMessageType]

The template for the email messages that your user pool sends to users with codes for MFA and sign-in with email OTPs. 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.

subject instance-attribute

subject: NotRequired[EmailMfaSubjectType]

The subject of the email messages that your user pool sends to users with codes for MFA and email OTP sign-in.