public static interface CfnUserPool.VerificationMessageTemplateProperty
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.cognito.*; VerificationMessageTemplateProperty verificationMessageTemplateProperty = VerificationMessageTemplateProperty.builder() .defaultEmailOption("defaultEmailOption") .emailMessage("emailMessage") .emailMessageByLink("emailMessageByLink") .emailSubject("emailSubject") .emailSubjectByLink("emailSubjectByLink") .smsMessage("smsMessage") .build();
Modifier and Type | Interface and Description |
---|---|
static class |
CfnUserPool.VerificationMessageTemplateProperty.Builder
A builder for
CfnUserPool.VerificationMessageTemplateProperty |
static class |
CfnUserPool.VerificationMessageTemplateProperty.Jsii$Proxy
An implementation for
CfnUserPool.VerificationMessageTemplateProperty |
Modifier and Type | Method and Description |
---|---|
static CfnUserPool.VerificationMessageTemplateProperty.Builder |
builder() |
default java.lang.String |
getDefaultEmailOption()
The default email option.
|
default java.lang.String |
getEmailMessage()
The template for email messages that Amazon Cognito sends to your users.
|
default java.lang.String |
getEmailMessageByLink()
The email message template for sending a confirmation link to the user.
|
default java.lang.String |
getEmailSubject()
The subject line for the email message template.
|
default java.lang.String |
getEmailSubjectByLink()
The subject line for the email message template for sending a confirmation link to the user.
|
default java.lang.String |
getSmsMessage()
The template for SMS messages that Amazon Cognito sends to your users.
|
default java.lang.String getDefaultEmailOption()
default java.lang.String getEmailMessage()
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.
default java.lang.String getEmailMessageByLink()
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.
default java.lang.String getEmailSubject()
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.
default java.lang.String getEmailSubjectByLink()
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.
default java.lang.String getSmsMessage()
static CfnUserPool.VerificationMessageTemplateProperty.Builder builder()