You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::CognitoIdentityProvider::Types::SMSMfaSettingsType

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing SMSMfaSettingsType as input to an Aws::Client method, you can use a vanilla Hash:

{
  enabled: false,
  preferred_mfa: false,
}

The type used for enabling SMS MFA at the user level.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#enabledBoolean

Specifies whether SMS text message MFA is enabled.

Returns:

  • (Boolean)

    Specifies whether SMS text message MFA is enabled.

#preferred_mfaBoolean

Specifies whether SMS is the preferred MFA method.

Returns:

  • (Boolean)

    Specifies whether SMS is the preferred MFA method.