Class: Aws::CognitoIdentityProvider::Types::MFAOptionType

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-cognitoidentityprovider/types.rb

Overview

*This data type is no longer supported.* Applies only to SMS multi-factor authentication (MFA) configurations. Does not apply to time-based one-time password (TOTP) software token MFA configurations.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#attribute_nameString

The attribute name of the MFA option type. The only valid value is ‘phone_number`.

Returns:

  • (String)


6747
6748
6749
6750
6751
6752
# File 'lib/aws-sdk-cognitoidentityprovider/types.rb', line 6747

class MFAOptionType < Struct.new(
  :delivery_medium,
  :attribute_name)
  SENSITIVE = []
  include Aws::Structure
end

#delivery_mediumString

The delivery medium to send the MFA code. You can use this parameter to set only the ‘SMS` delivery medium value.

Returns:

  • (String)


6747
6748
6749
6750
6751
6752
# File 'lib/aws-sdk-cognitoidentityprovider/types.rb', line 6747

class MFAOptionType < Struct.new(
  :delivery_medium,
  :attribute_name)
  SENSITIVE = []
  include Aws::Structure
end