Class: Aws::AmplifyBackend::Types::UpdateBackendAuthMFAConfig

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

Overview

Note:

When making an API call, you may pass UpdateBackendAuthMFAConfig data as a hash:

{
  mfa_mode: "ON", # accepts ON, OFF, OPTIONAL
  settings: {
    mfa_types: ["SMS"], # accepts SMS, TOTP
    sms_message: "__string",
  },
}

Updates the multi-factor authentication (MFA) configuration for the backend of your Amplify project.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#mfa_modeString

The MFA mode for the backend of your Amplify project.

Returns:

  • (String)


3413
3414
3415
3416
3417
3418
# File 'gems/aws-sdk-amplifybackend/lib/aws-sdk-amplifybackend/types.rb', line 3413

class UpdateBackendAuthMFAConfig < Struct.new(
  :mfa_mode,
  :settings)
  SENSITIVE = []
  include Aws::Structure
end

#settingsTypes::Settings

The settings of your MFA configuration for the backend of your Amplify project.

Returns:



3413
3414
3415
3416
3417
3418
# File 'gems/aws-sdk-amplifybackend/lib/aws-sdk-amplifybackend/types.rb', line 3413

class UpdateBackendAuthMFAConfig < Struct.new(
  :mfa_mode,
  :settings)
  SENSITIVE = []
  include Aws::Structure
end