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

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

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

Overview

Note:

When making an API call, you may pass MFAOptionType data as a 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)


4979
4980
4981
4982
4983
# File 'gems/aws-sdk-cognitoidentityprovider/lib/aws-sdk-cognitoidentityprovider/types.rb', line 4979

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

#delivery_mediumString

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

Returns:

  • (String)


4979
4980
4981
4982
4983
# File 'gems/aws-sdk-cognitoidentityprovider/lib/aws-sdk-cognitoidentityprovider/types.rb', line 4979

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