CmdID

CmdID / aws / aws cognito-idp

aws cognito-idp set-user-mfa-preference

Set the user's multi-factor authentication (MFA) method preference, including which MFA factors are activated and if any are preferred. AWS CLI reference

5 options Its page in the AWS CLI reference

Opens CmdID with your command. It is read in your browser and sent nowhere.

Options

5 in the AWS CLI reference
--access-tokenA valid access token that Amazon Cognito issued to the currently signed-in user.
--email-mfa-settingsUser preferences for email message MFA.
--sms-mfa-settingsUser preferences for SMS message MFA.
--software-token-mfa-settingsUser preferences for time-based one-time password (TOTP) MFA.
--web-authn-mfa-settingsUser preferences for passkey MFA.