Class SetUserPoolMfaConfigResponse

    • Method Detail

      • smsMfaConfiguration

        public final SmsMfaConfigType smsMfaConfiguration()

        Shows user pool SMS message configuration for MFA. Includes the message template and the SMS message sending configuration for Amazon SNS.

        Returns:
        Shows user pool SMS message configuration for MFA. Includes the message template and the SMS message sending configuration for Amazon SNS.
      • softwareTokenMfaConfiguration

        public final SoftwareTokenMfaConfigType softwareTokenMfaConfiguration()

        Shows user pool configuration for time-based one-time password (TOTP) MFA. Includes TOTP enabled or disabled state.

        Returns:
        Shows user pool configuration for time-based one-time password (TOTP) MFA. Includes TOTP enabled or disabled state.
      • emailMfaConfiguration

        public final EmailMfaConfigType emailMfaConfiguration()

        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.

        Returns:
        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.
      • mfaConfiguration

        public final UserPoolMfaType mfaConfiguration()

        The MFA configuration. 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 enabled.

        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. 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 enabled.

        See Also:
        UserPoolMfaType
      • mfaConfigurationAsString

        public final String mfaConfigurationAsString()

        The MFA configuration. 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 enabled.

        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. 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 enabled.

        See Also:
        UserPoolMfaType
      • webAuthnConfiguration

        public final WebAuthnConfigurationType webAuthnConfiguration()

        The configuration of your user pool for passkey, or webauthN, biometric and security-key devices.

        Returns:
        The configuration of your user pool for passkey, or webauthN, biometric and security-key devices.
      • 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