Class: Aws::CognitoIdentityProvider::Types::EmailMfaConfigType

Inherits:
Struct
  • Object
show all
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.

[1]: docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-pool-settings-advanced-security.html

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#messageString

The template for the email message that your user pool sends to users with an MFA code. 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.

Returns:

  • (String)


4561
4562
4563
4564
4565
4566
# File 'lib/aws-sdk-cognitoidentityprovider/types.rb', line 4561

class EmailMfaConfigType < Struct.new(
  :message,
  :subject)
  SENSITIVE = []
  include Aws::Structure
end

#subjectString

The subject of the email message that your user pool sends to users with an MFA code.

Returns:

  • (String)


4561
4562
4563
4564
4565
4566
# File 'lib/aws-sdk-cognitoidentityprovider/types.rb', line 4561

class EmailMfaConfigType < Struct.new(
  :message,
  :subject)
  SENSITIVE = []
  include Aws::Structure
end