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

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

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

Overview

Note:

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

{
  delivery_medium: "SMS", # accepts SMS, EMAIL
  attribute_name: "AttributeNameType",
}

Specifies the different settings for multi-factor authentication (MFA).

Instance Attribute Summary collapse

Instance Attribute Details

#attribute_nameString

The attribute name of the MFA option type.

Returns:

  • (String)

    The attribute name of the MFA option type.

#delivery_mediumString

The delivery medium (email message or SMS message) to send the MFA code.

Possible values:

  • SMS
  • EMAIL

Returns:

  • (String)

    The delivery medium (email message or SMS message) to send the MFA code.