Class: Aws::CognitoIdentityProvider::Types::SmsMfaConfigType
- Inherits:
-
Struct
- Object
- Struct
- Aws::CognitoIdentityProvider::Types::SmsMfaConfigType
- Defined in:
- gems/aws-sdk-cognitoidentityprovider/lib/aws-sdk-cognitoidentityprovider/types.rb
Overview
The configuration of multi-factor authentication (MFA) with SMS messages in a user pool.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#sms_authentication_message ⇒ String
The SMS authentication message that will be sent to users with the code they must sign in with.
-
#sms_configuration ⇒ Types::SmsConfigurationType
User pool configuration for delivery of SMS messages with Amazon Simple Notification Service.
Instance Attribute Details
#sms_authentication_message ⇒ String
The SMS authentication message that will be sent to users with the
code they must sign in with. The message must contain the {####}
placeholder. Your user pool replaces the placeholder with the MFA
code. If this parameter isn't provided, your user pool sends a
default message.
10226 10227 10228 10229 10230 10231 |
# File 'gems/aws-sdk-cognitoidentityprovider/lib/aws-sdk-cognitoidentityprovider/types.rb', line 10226 class SmsMfaConfigType < Struct.new( :sms_authentication_message, :sms_configuration) SENSITIVE = [] include Aws::Structure end |
#sms_configuration ⇒ Types::SmsConfigurationType
User pool configuration for delivery of SMS messages with Amazon Simple Notification Service. To send SMS messages with Amazon SNS in the Amazon Web Services Region that you want, the Amazon Cognito user pool uses an Identity and Access Management (IAM) role in your Amazon Web Services account.
You can set SmsConfiguration
in CreateUserPool
and
UpdateUserPool
, or in SetUserPoolMfaConfig
.
10226 10227 10228 10229 10230 10231 |
# File 'gems/aws-sdk-cognitoidentityprovider/lib/aws-sdk-cognitoidentityprovider/types.rb', line 10226 class SmsMfaConfigType < Struct.new( :sms_authentication_message, :sms_configuration) SENSITIVE = [] include Aws::Structure end |