Interface CfnUserPool.IVerificationMessageTemplateProperty
The template for verification messages.
public interface CfnUserPool.IVerificationMessageTemplateProperty
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Cognito;
var verificationMessageTemplateProperty = new VerificationMessageTemplateProperty {
DefaultEmailOption = "defaultEmailOption",
EmailMessage = "emailMessage",
EmailMessageByLink = "emailMessageByLink",
EmailSubject = "emailSubject",
EmailSubjectByLink = "emailSubjectByLink",
SmsMessage = "smsMessage"
};
Remarks
ExampleMetadata: fixture=_generated
Properties
DefaultEmailOption
The default email option.
string? DefaultEmailOption { get; }
Property Value
Remarks
EmailMessage
The template for email messages that Amazon Cognito sends to your users.
string? EmailMessage { get; }
Property Value
Remarks
You can set an EmailMessage
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.
EmailMessageByLink
The email message template for sending a confirmation link to the user.
string? EmailMessageByLink { get; }
Property Value
Remarks
You can set an EmailMessageByLink
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.
EmailSubject
The subject line for the email message template.
string? EmailSubject { get; }
Property Value
Remarks
You can set an EmailSubject
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.
EmailSubjectByLink
The subject line for the email message template for sending a confirmation link to the user.
string? EmailSubjectByLink { get; }
Property Value
Remarks
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.
SmsMessage
The template for SMS messages that Amazon Cognito sends to your users.
string? SmsMessage { get; }