@Stability(value=Experimental) @Internal public static final class UserVerificationConfig.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements UserVerificationConfig
UserVerificationConfigsoftware.amazon.jsii.JsiiObject.InitializationModeUserVerificationConfig.Builder, UserVerificationConfig.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
protected |
Jsii$Proxy(String emailBody,
VerificationEmailStyle emailStyle,
String emailSubject,
String smsMessage)
Constructor that initializes the object based on literal property values passed by the
UserVerificationConfig.Builder. |
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
String |
getEmailBody()
(experimental) The email body template for the verification email sent to the user upon sign up.
|
VerificationEmailStyle |
getEmailStyle()
(experimental) Emails can be verified either using a code or a link.
|
String |
getEmailSubject()
(experimental) The email subject template for the verification email sent to the user upon sign up.
|
String |
getSmsMessage()
(experimental) The message template for the verification SMS sent to the user upon sign up.
|
int |
hashCode() |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitbuilderprotected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef - Reference to the JSII managed object.protected Jsii$Proxy(String emailBody, VerificationEmailStyle emailStyle, String emailSubject, String smsMessage)
UserVerificationConfig.Builder.public final String getEmailBody()
UserVerificationConfigSee https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-pool-settings-message-templates.html to learn more about message templates.
Default: - 'The verification code to your new account is {####}' if VerificationEmailStyle.CODE is chosen, 'Verify your account by clicking on {##Verify Email##}' if VerificationEmailStyle.LINK is chosen.
getEmailBody in interface UserVerificationConfigpublic final VerificationEmailStyle getEmailStyle()
UserVerificationConfigLearn more at https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-pool-settings-email-verification-message-customization.html
Default: VerificationEmailStyle.CODE
getEmailStyle in interface UserVerificationConfigpublic final String getEmailSubject()
UserVerificationConfigSee https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-pool-settings-message-templates.html to learn more about message templates.
Default: 'Verify your new account'
getEmailSubject in interface UserVerificationConfigpublic final String getSmsMessage()
UserVerificationConfigSee https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-pool-settings-message-templates.html to learn more about message templates.
Default: - 'The verification code to your new account is {####}' if VerificationEmailStyle.CODE is chosen, not configured if VerificationEmailStyle.LINK is chosen
getSmsMessage in interface UserVerificationConfig@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2021. All rights reserved.