Class: Aws::CognitoIdentityProvider::Types::EmailMfaConfigType
- Inherits:
-
Struct
- Object
- Struct
- Aws::CognitoIdentityProvider::Types::EmailMfaConfigType
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-cognitoidentityprovider/types.rb
Overview
Sets or shows user pool email message configuration for MFA. Includes 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.
This data type is a request parameter of [SetUserPoolMfaConfig] and a response parameter of [GetUserPoolMfaConfig].
[1]: docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-pool-settings-advanced-security.html [2]: docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_SetUserPoolMfaConfig.html [3]: docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_GetUserPoolMfaConfig.html
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#message ⇒ String
The template for the email message that your user pool sends to users with a code for MFA and sign-in with an email OTP.
-
#subject ⇒ String
The subject of the email message that your user pool sends to users with a code for MFA and email OTP sign-in.
Instance Attribute Details
#message ⇒ String
The template for the email message that your user pool sends to users with a code for MFA and sign-in with an email OTP. The message must contain the ‘####` placeholder. In the message, Amazon Cognito replaces this placeholder with the code. If you don’t provide this parameter, Amazon Cognito sends messages in the default format.
5745 5746 5747 5748 5749 5750 |
# File 'lib/aws-sdk-cognitoidentityprovider/types.rb', line 5745 class EmailMfaConfigType < Struct.new( :message, :subject) SENSITIVE = [] include Aws::Structure end |
#subject ⇒ String
The subject of the email message that your user pool sends to users with a code for MFA and email OTP sign-in.
5745 5746 5747 5748 5749 5750 |
# File 'lib/aws-sdk-cognitoidentityprovider/types.rb', line 5745 class EmailMfaConfigType < Struct.new( :message, :subject) SENSITIVE = [] include Aws::Structure end |