Learn R Programming

paws.security.identity (version 0.8.0)

cognitoidentityprovider_set_user_pool_mfa_config: Sets the user pool multi-factor authentication (MFA) and passkey configuration

Description

Sets the user pool multi-factor authentication (MFA) and passkey configuration.

See https://www.paws-r-sdk.com/docs/cognitoidentityprovider_set_user_pool_mfa_config/ for full documentation.

Usage

cognitoidentityprovider_set_user_pool_mfa_config(
  UserPoolId,
  SmsMfaConfiguration = NULL,
  SoftwareTokenMfaConfiguration = NULL,
  EmailMfaConfiguration = NULL,
  MfaConfiguration = NULL,
  WebAuthnConfiguration = NULL
)

Arguments

UserPoolId

[required] The user pool ID.

SmsMfaConfiguration

Configures user pool SMS messages for MFA. Sets the message template and the SMS message sending configuration for Amazon SNS.

SoftwareTokenMfaConfiguration

Configures a user pool for time-based one-time password (TOTP) MFA. Enables or disables TOTP.

EmailMfaConfiguration

Configures user pool email messages for MFA. Sets 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.

MfaConfiguration

The MFA configuration. If you set the MfaConfiguration value to ‘ON’, only users who have set up an MFA factor can sign in. To learn more, see Adding Multi-Factor Authentication (MFA) to a user pool. 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.

WebAuthnConfiguration

The configuration of your user pool for passkey, or webauthN, authentication and registration. You can set this configuration independent of the MFA configuration options in this operation.