You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::CognitoIdentityProvider::Types::SetUserPoolMfaConfigRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::CognitoIdentityProvider::Types::SetUserPoolMfaConfigRequest
- Defined in:
- (unknown)
Overview
Note:
When passing SetUserPoolMfaConfigRequest as input to an Aws::Client method, you can use a vanilla Hash:
{
user_pool_id: "UserPoolIdType", # required
sms_mfa_configuration: {
sms_authentication_message: "SmsVerificationMessageType",
sms_configuration: {
sns_caller_arn: "ArnType", # required
external_id: "StringType",
},
},
software_token_mfa_configuration: {
enabled: false,
},
mfa_configuration: "OFF", # accepts OFF, ON, OPTIONAL
}
Instance Attribute Summary collapse
-
#mfa_configuration ⇒ String
The MFA configuration.
-
#sms_mfa_configuration ⇒ Types::SmsMfaConfigType
The SMS text message MFA configuration.
-
#software_token_mfa_configuration ⇒ Types::SoftwareTokenMfaConfigType
The software token MFA configuration.
-
#user_pool_id ⇒ String
The user pool ID.
Instance Attribute Details
#mfa_configuration ⇒ String
The MFA configuration. Valid values include:
OFF
MFA will not 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 enabled.Possible values:
- OFF
- ON
- OPTIONAL
#sms_mfa_configuration ⇒ Types::SmsMfaConfigType
The SMS text message MFA configuration.
#software_token_mfa_configuration ⇒ Types::SoftwareTokenMfaConfigType
The software token MFA configuration.
#user_pool_id ⇒ String
The user pool ID.