Class: Aws::CognitoIdentityProvider::Types::SetUserPoolMfaConfigRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::CognitoIdentityProvider::Types::SetUserPoolMfaConfigRequest
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-cognitoidentityprovider/types.rb
Overview
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#email_mfa_configuration ⇒ Types::EmailMfaConfigType
Configures user pool email messages for MFA.
-
#mfa_configuration ⇒ String
The MFA configuration.
-
#sms_mfa_configuration ⇒ Types::SmsMfaConfigType
Configures user pool SMS messages for MFA.
-
#software_token_mfa_configuration ⇒ Types::SoftwareTokenMfaConfigType
Configures a user pool for time-based one-time password (TOTP) MFA.
-
#user_pool_id ⇒ String
The user pool ID.
-
#web_authn_configuration ⇒ Types::WebAuthnConfigurationType
The configuration of your user pool for passkey, or webauthN, authentication and registration.
Instance Attribute Details
#email_mfa_configuration ⇒ Types::EmailMfaConfigType
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.
[1]: docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-pool-settings-advanced-security.html
9895 9896 9897 9898 9899 9900 9901 9902 9903 9904 |
# File 'lib/aws-sdk-cognitoidentityprovider/types.rb', line 9895 class SetUserPoolMfaConfigRequest < Struct.new( :user_pool_id, :sms_mfa_configuration, :software_token_mfa_configuration, :email_mfa_configuration, :mfa_configuration, :web_authn_configuration) SENSITIVE = [] include Aws::Structure end |
#mfa_configuration ⇒ String
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.
[1]: docs.aws.amazon.com/cognito/latest/developerguide/user-pool-settings-mfa.html
9895 9896 9897 9898 9899 9900 9901 9902 9903 9904 |
# File 'lib/aws-sdk-cognitoidentityprovider/types.rb', line 9895 class SetUserPoolMfaConfigRequest < Struct.new( :user_pool_id, :sms_mfa_configuration, :software_token_mfa_configuration, :email_mfa_configuration, :mfa_configuration, :web_authn_configuration) SENSITIVE = [] include Aws::Structure end |
#sms_mfa_configuration ⇒ Types::SmsMfaConfigType
Configures user pool SMS messages for MFA. Sets the message template and the SMS message sending configuration for Amazon SNS.
9895 9896 9897 9898 9899 9900 9901 9902 9903 9904 |
# File 'lib/aws-sdk-cognitoidentityprovider/types.rb', line 9895 class SetUserPoolMfaConfigRequest < Struct.new( :user_pool_id, :sms_mfa_configuration, :software_token_mfa_configuration, :email_mfa_configuration, :mfa_configuration, :web_authn_configuration) SENSITIVE = [] include Aws::Structure end |
#software_token_mfa_configuration ⇒ Types::SoftwareTokenMfaConfigType
Configures a user pool for time-based one-time password (TOTP) MFA. Enables or disables TOTP.
9895 9896 9897 9898 9899 9900 9901 9902 9903 9904 |
# File 'lib/aws-sdk-cognitoidentityprovider/types.rb', line 9895 class SetUserPoolMfaConfigRequest < Struct.new( :user_pool_id, :sms_mfa_configuration, :software_token_mfa_configuration, :email_mfa_configuration, :mfa_configuration, :web_authn_configuration) SENSITIVE = [] include Aws::Structure end |
#user_pool_id ⇒ String
The user pool ID.
9895 9896 9897 9898 9899 9900 9901 9902 9903 9904 |
# File 'lib/aws-sdk-cognitoidentityprovider/types.rb', line 9895 class SetUserPoolMfaConfigRequest < Struct.new( :user_pool_id, :sms_mfa_configuration, :software_token_mfa_configuration, :email_mfa_configuration, :mfa_configuration, :web_authn_configuration) SENSITIVE = [] include Aws::Structure end |
#web_authn_configuration ⇒ Types::WebAuthnConfigurationType
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.
9895 9896 9897 9898 9899 9900 9901 9902 9903 9904 |
# File 'lib/aws-sdk-cognitoidentityprovider/types.rb', line 9895 class SetUserPoolMfaConfigRequest < Struct.new( :user_pool_id, :sms_mfa_configuration, :software_token_mfa_configuration, :email_mfa_configuration, :mfa_configuration, :web_authn_configuration) SENSITIVE = [] include Aws::Structure end |