Class SetUserPoolMfaConfigRequest

    • Method Detail

      • userPoolId

        public final String userPoolId()

        The user pool ID.

        Returns:
        The user pool ID.
      • smsMfaConfiguration

        public final SmsMfaConfigType smsMfaConfiguration()

        Configures user pool SMS messages for MFA. Sets the message template and the SMS message sending configuration for Amazon SNS.

        Returns:
        Configures user pool SMS messages for MFA. Sets the message template and the SMS message sending configuration for Amazon SNS.
      • softwareTokenMfaConfiguration

        public final SoftwareTokenMfaConfigType softwareTokenMfaConfiguration()

        Configures a user pool for time-based one-time password (TOTP) MFA. Enables or disables TOTP.

        Returns:
        Configures a user pool for time-based one-time password (TOTP) MFA. Enables or disables TOTP.
      • emailMfaConfiguration

        public final EmailMfaConfigType emailMfaConfiguration()

        Configures user pool email messages for MFA. Sets 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.

        Returns:
        Configures user pool email messages for MFA. Sets 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.
      • mfaConfiguration

        public final UserPoolMfaType mfaConfiguration()

        The MFA configuration. If you set the MfaConfiguration value to ‘ON’, only users who have set up an MFA factor can sign in. To learn more, see Adding Multi-Factor Authentication (MFA) to a user pool. Valid values include:

        • OFF MFA won't be used for any users.

        • ON MFA is required for all users to sign in.

        • OPTIONAL MFA will be required only for individual users who have an MFA factor activated.

        If the service returns an enum value that is not available in the current SDK version, mfaConfiguration will return UserPoolMfaType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from mfaConfigurationAsString().

        Returns:
        The MFA configuration. If you set the MfaConfiguration value to ‘ON’, only users who have set up an MFA factor can sign in. To learn more, see Adding Multi-Factor Authentication (MFA) to a user pool. Valid values include:

        • OFF MFA won't be used for any users.

        • ON MFA is required for all users to sign in.

        • OPTIONAL MFA will be required only for individual users who have an MFA factor activated.

        See Also:
        UserPoolMfaType
      • mfaConfigurationAsString

        public final String mfaConfigurationAsString()

        The MFA configuration. If you set the MfaConfiguration value to ‘ON’, only users who have set up an MFA factor can sign in. To learn more, see Adding Multi-Factor Authentication (MFA) to a user pool. Valid values include:

        • OFF MFA won't be used for any users.

        • ON MFA is required for all users to sign in.

        • OPTIONAL MFA will be required only for individual users who have an MFA factor activated.

        If the service returns an enum value that is not available in the current SDK version, mfaConfiguration will return UserPoolMfaType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from mfaConfigurationAsString().

        Returns:
        The MFA configuration. If you set the MfaConfiguration value to ‘ON’, only users who have set up an MFA factor can sign in. To learn more, see Adding Multi-Factor Authentication (MFA) to a user pool. Valid values include:

        • OFF MFA won't be used for any users.

        • ON MFA is required for all users to sign in.

        • OPTIONAL MFA will be required only for individual users who have an MFA factor activated.

        See Also:
        UserPoolMfaType
      • webAuthnConfiguration

        public final WebAuthnConfigurationType webAuthnConfiguration()

        The configuration of your user pool for passkey, or webauthN, authentication and registration. You can set this configuration independent of the MFA configuration options in this operation.

        Returns:
        The configuration of your user pool for passkey, or webauthN, authentication and registration. You can set this configuration independent of the MFA configuration options in this operation.
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object