Class UserVerificationConfig.Jsii$Proxy

java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.cognito.UserVerificationConfig.Jsii$Proxy
All Implemented Interfaces:
UserVerificationConfig, software.amazon.jsii.JsiiSerializable
Enclosing interface:
UserVerificationConfig

@Stability(Stable) @Internal public static final class UserVerificationConfig.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements UserVerificationConfig
An implementation for UserVerificationConfig
  • Constructor Details

    • Jsii$Proxy

      protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
      Constructor that initializes the object based on values retrieved from the JsiiObject.
      Parameters:
      objRef - Reference to the JSII managed object.
    • Jsii$Proxy

      protected Jsii$Proxy(UserVerificationConfig.Builder builder)
      Constructor that initializes the object based on literal property values passed by the UserVerificationConfig.Builder.
  • Method Details

    • getEmailBody

      public final String getEmailBody()
      Description copied from interface: UserVerificationConfig
      The email body template for the verification email sent to the user upon sign up.

      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.

      Specified by:
      getEmailBody in interface UserVerificationConfig
    • getEmailStyle

      public final VerificationEmailStyle getEmailStyle()
      Description copied from interface: UserVerificationConfig
      Emails can be verified either using a code or a link.

      Learn more at https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-pool-settings-email-verification-message-customization.html

      Default: VerificationEmailStyle.CODE

      Specified by:
      getEmailStyle in interface UserVerificationConfig
    • getEmailSubject

      public final String getEmailSubject()
      Description copied from interface: UserVerificationConfig
      The email subject template for the verification email sent to the user upon sign up.

      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'

      Specified by:
      getEmailSubject in interface UserVerificationConfig
    • getSmsMessage

      public final String getSmsMessage()
      Description copied from interface: UserVerificationConfig
      The message template for the verification SMS sent to the user upon sign up.

      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

      Specified by:
      getSmsMessage in interface UserVerificationConfig
    • $jsii$toJson

      @Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
      Specified by:
      $jsii$toJson in interface software.amazon.jsii.JsiiSerializable
    • equals

      public final boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class Object