Class: Aws::CognitoIdentityProvider::Types::VerificationMessageTemplateType
- Inherits:
-
Struct
- Object
- Struct
- Aws::CognitoIdentityProvider::Types::VerificationMessageTemplateType
- 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
-
#default_email_option ⇒ String
The configuration of verification emails to contain a clickable link or a verification code.
-
#email_message ⇒ String
The template for email messages that Amazon Cognito sends to your users.
-
#email_message_by_link ⇒ String
The email message template for sending a confirmation link to the user.
-
#email_subject ⇒ String
The subject line for the email message template.
-
#email_subject_by_link ⇒ String
The subject line for the email message template for sending a confirmation link to the user.
-
#sms_message ⇒ String
The template for SMS messages that Amazon Cognito sends to your users.
Instance Attribute Details
#default_email_option ⇒ String
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 `####`.
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_message ⇒ String
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.
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_message_by_link ⇒ String
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.
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_subject ⇒ String
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.
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_subject_by_link ⇒ String
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.
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_message ⇒ String
The template for SMS messages that Amazon Cognito sends to your users.
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 |