Class UserPoolEmailMfaConfiguration


  • public final class UserPoolEmailMfaConfiguration
    extends java.lang.Object
    • Method Detail

      • message

        public java.util.Optional<java.lang.String> message()
        Returns:
        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

        public java.util.Optional<java.lang.String> subject()
        Returns:
        The subject of the email messages that your user pool sends to users with codes for MFA and email OTP sign-in.