Class: Aws::CognitoIdentityProvider::Types::VerificationMessageTemplateType

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-cognitoidentityprovider/types.rb

Overview

The template for the verification message that your user pool delivers to users who set an email address or phone number attribute.

This data type is a request and response parameter of

CreateUserPool][1

and [UpdateUserPool], and a response parameter

of [DescribeUserPool].

[1]: docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_CreateUserPool.html [2]: docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_UpdateUserPool.html [3]: docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_DescribeUserPool.html

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#default_email_optionString

The configuration of verification emails to contain a clickable link or a verification code.

For link, your template body must contain link text in the format ‘here##`. “Click here” in the example is a customizable string. For code, your template body must contain a code placeholder in the format `####`.

Returns:

  • (String)


13086
13087
13088
13089
13090
13091
13092
13093
13094
13095
# File 'lib/aws-sdk-cognitoidentityprovider/types.rb', line 13086

class VerificationMessageTemplateType < Struct.new(
  :sms_message,
  :email_message,
  :email_subject,
  :email_message_by_link,
  :email_subject_by_link,
  :default_email_option)
  SENSITIVE = []
  include Aws::Structure
end

#email_messageString

The template for email messages that Amazon Cognito sends to your users. You can set an ‘EmailMessage` template only if the value of [ EmailSendingAccount] is `DEVELOPER`. When your

EmailSendingAccount][1

is ‘DEVELOPER`, your user pool sends email

messages with your own Amazon SES configuration.

[1]: docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_EmailConfigurationType.html#CognitoUserPools-Type-EmailConfigurationType-EmailSendingAccount

Returns:

  • (String)


13086
13087
13088
13089
13090
13091
13092
13093
13094
13095
# File 'lib/aws-sdk-cognitoidentityprovider/types.rb', line 13086

class VerificationMessageTemplateType < Struct.new(
  :sms_message,
  :email_message,
  :email_subject,
  :email_message_by_link,
  :email_subject_by_link,
  :default_email_option)
  SENSITIVE = []
  include Aws::Structure
end

The email message template for sending a confirmation link to the user. You can set an ‘EmailMessageByLink` template only if the value of [ EmailSendingAccount] is `DEVELOPER`. When your

EmailSendingAccount][1

is ‘DEVELOPER`, your user pool sends email

messages with your own Amazon SES configuration.

[1]: docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_EmailConfigurationType.html#CognitoUserPools-Type-EmailConfigurationType-EmailSendingAccount

Returns:

  • (String)


13086
13087
13088
13089
13090
13091
13092
13093
13094
13095
# File 'lib/aws-sdk-cognitoidentityprovider/types.rb', line 13086

class VerificationMessageTemplateType < Struct.new(
  :sms_message,
  :email_message,
  :email_subject,
  :email_message_by_link,
  :email_subject_by_link,
  :default_email_option)
  SENSITIVE = []
  include Aws::Structure
end

#email_subjectString

The subject line for the email message template. You can set an ‘EmailSubject` template only if the value of [ EmailSendingAccount] is `DEVELOPER`. When your

EmailSendingAccount][1

is ‘DEVELOPER`, your user pool sends email

messages with your own Amazon SES configuration.

[1]: docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_EmailConfigurationType.html#CognitoUserPools-Type-EmailConfigurationType-EmailSendingAccount

Returns:

  • (String)


13086
13087
13088
13089
13090
13091
13092
13093
13094
13095
# File 'lib/aws-sdk-cognitoidentityprovider/types.rb', line 13086

class VerificationMessageTemplateType < Struct.new(
  :sms_message,
  :email_message,
  :email_subject,
  :email_message_by_link,
  :email_subject_by_link,
  :default_email_option)
  SENSITIVE = []
  include Aws::Structure
end

The subject line for the email message template for sending a confirmation link to the user. You can set an ‘EmailSubjectByLink` template only if the value of [ EmailSendingAccount] is `DEVELOPER`. When your [EmailSendingAccount] is `DEVELOPER`, your user pool sends email messages with your own Amazon SES configuration.

[1]: docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_EmailConfigurationType.html#CognitoUserPools-Type-EmailConfigurationType-EmailSendingAccount

Returns:

  • (String)


13086
13087
13088
13089
13090
13091
13092
13093
13094
13095
# File 'lib/aws-sdk-cognitoidentityprovider/types.rb', line 13086

class VerificationMessageTemplateType < Struct.new(
  :sms_message,
  :email_message,
  :email_subject,
  :email_message_by_link,
  :email_subject_by_link,
  :default_email_option)
  SENSITIVE = []
  include Aws::Structure
end

#sms_messageString

The template for SMS messages that Amazon Cognito sends to your users.

Returns:

  • (String)


13086
13087
13088
13089
13090
13091
13092
13093
13094
13095
# File 'lib/aws-sdk-cognitoidentityprovider/types.rb', line 13086

class VerificationMessageTemplateType < Struct.new(
  :sms_message,
  :email_message,
  :email_subject,
  :email_message_by_link,
  :email_subject_by_link,
  :default_email_option)
  SENSITIVE = []
  include Aws::Structure
end