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

Class: Aws::CognitoIdentityProvider::Types::SoftwareTokenMfaSettingsType

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 SoftwareTokenMfaSettingsType data as a hash:

{
  enabled: false,
  preferred_mfa: false,
}

The type used for enabling software token MFA at the user level.

Instance Attribute Summary collapse

Instance Attribute Details

#enabledBoolean

Specifies whether software token MFA is enabled.

Returns:

  • (Boolean)


6245
6246
6247
6248
6249
# File 'gems/aws-sdk-cognitoidentityprovider/lib/aws-sdk-cognitoidentityprovider/types.rb', line 6245

class SoftwareTokenMfaSettingsType < Struct.new(
  :enabled,
  :preferred_mfa)
  include Aws::Structure
end

#preferred_mfaBoolean

The preferred MFA method.

Returns:

  • (Boolean)


6245
6246
6247
6248
6249
# File 'gems/aws-sdk-cognitoidentityprovider/lib/aws-sdk-cognitoidentityprovider/types.rb', line 6245

class SoftwareTokenMfaSettingsType < Struct.new(
  :enabled,
  :preferred_mfa)
  include Aws::Structure
end