Class: Aws::CognitoIdentityProvider::Types::GetUserPoolMfaConfigResponse

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

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#email_mfa_configurationTypes::EmailMfaConfigType

Shows user pool email message configuration for MFA. Includes the subject and body of the email message template for MFA messages. To activate this setting, [ advanced security features] must be active in your user pool.

[1]: docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-pool-settings-advanced-security.html



6192
6193
6194
6195
6196
6197
6198
6199
6200
# File 'lib/aws-sdk-cognitoidentityprovider/types.rb', line 6192

class GetUserPoolMfaConfigResponse < Struct.new(
  :sms_mfa_configuration,
  :software_token_mfa_configuration,
  :email_mfa_configuration,
  :mfa_configuration,
  :web_authn_configuration)
  SENSITIVE = []
  include Aws::Structure
end

#mfa_configurationString

The multi-factor authentication (MFA) configuration. Valid values include:

  • ‘OFF` MFA won’t be used for any users.

  • ‘ON` MFA is required for all users to sign in.

  • ‘OPTIONAL` MFA will be required only for individual users who have an MFA factor activated.

Returns:

  • (String)


6192
6193
6194
6195
6196
6197
6198
6199
6200
# File 'lib/aws-sdk-cognitoidentityprovider/types.rb', line 6192

class GetUserPoolMfaConfigResponse < Struct.new(
  :sms_mfa_configuration,
  :software_token_mfa_configuration,
  :email_mfa_configuration,
  :mfa_configuration,
  :web_authn_configuration)
  SENSITIVE = []
  include Aws::Structure
end

#sms_mfa_configurationTypes::SmsMfaConfigType

Shows user pool SMS message configuration for MFA. Includes the message template and the SMS message sending configuration for Amazon SNS.



6192
6193
6194
6195
6196
6197
6198
6199
6200
# File 'lib/aws-sdk-cognitoidentityprovider/types.rb', line 6192

class GetUserPoolMfaConfigResponse < Struct.new(
  :sms_mfa_configuration,
  :software_token_mfa_configuration,
  :email_mfa_configuration,
  :mfa_configuration,
  :web_authn_configuration)
  SENSITIVE = []
  include Aws::Structure
end

#software_token_mfa_configurationTypes::SoftwareTokenMfaConfigType

Shows user pool configuration for time-based one-time password (TOTP) MFA. Includes TOTP enabled or disabled state.



6192
6193
6194
6195
6196
6197
6198
6199
6200
# File 'lib/aws-sdk-cognitoidentityprovider/types.rb', line 6192

class GetUserPoolMfaConfigResponse < Struct.new(
  :sms_mfa_configuration,
  :software_token_mfa_configuration,
  :email_mfa_configuration,
  :mfa_configuration,
  :web_authn_configuration)
  SENSITIVE = []
  include Aws::Structure
end

#web_authn_configurationTypes::WebAuthnConfigurationType

Shows user pool configuration for MFA with passkeys from biometric devices and security keys.



6192
6193
6194
6195
6196
6197
6198
6199
6200
# File 'lib/aws-sdk-cognitoidentityprovider/types.rb', line 6192

class GetUserPoolMfaConfigResponse < Struct.new(
  :sms_mfa_configuration,
  :software_token_mfa_configuration,
  :email_mfa_configuration,
  :mfa_configuration,
  :web_authn_configuration)
  SENSITIVE = []
  include Aws::Structure
end