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)

4036
4037
4038
4039
4040
4041
# File 'gems/aws-sdk-amplifybackend/lib/aws-sdk-amplifybackend/types.rb', line 4036

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:


4036
4037
4038
4039
4040
4041
# File 'gems/aws-sdk-amplifybackend/lib/aws-sdk-amplifybackend/types.rb', line 4036

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