@Generated(value="jsii-pacmak/1.29.0 (build 41df200)", date="2021-06-02T09:55:16.774Z") @Stability(value=Experimental) public interface UserVerificationConfig extends software.amazon.jsii.JsiiSerializable
| Modifier and Type | Interface and Description |
|---|---|
static class |
UserVerificationConfig.Builder
A builder for
UserVerificationConfig |
static class |
UserVerificationConfig.Jsii$Proxy
An implementation for
UserVerificationConfig |
| Modifier and Type | Method and Description |
|---|---|
static UserVerificationConfig.Builder |
builder() |
default String |
getEmailBody()
(experimental) The email body template for the verification email sent to the user upon sign up.
|
default VerificationEmailStyle |
getEmailStyle()
(experimental) Emails can be verified either using a code or a link.
|
default String |
getEmailSubject()
(experimental) The email subject template for the verification email sent to the user upon sign up.
|
default String |
getSmsMessage()
(experimental) The message template for the verification SMS sent to the user upon sign up.
|
@Stability(value=Experimental) @Nullable default String getEmailBody()
See 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.
@Stability(value=Experimental) @Nullable default VerificationEmailStyle getEmailStyle()
Learn more at https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-pool-settings-email-verification-message-customization.html
Default: VerificationEmailStyle.CODE
@Stability(value=Experimental) @Nullable default String getEmailSubject()
See 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'
@Stability(value=Experimental) @Nullable default String getSmsMessage()
See 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
@Stability(value=Experimental) static UserVerificationConfig.Builder builder()
UserVerificationConfig.Builder of UserVerificationConfigCopyright © 2021. All rights reserved.