Class VerificationEmailStyle
The email verification style.
Inheritance
System.Object
VerificationEmailStyle
Namespace: Amazon.CDK.AWS.Cognito
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public sealed class VerificationEmailStyle : Enum
Syntax (vb)
Public NotInheritable Class VerificationEmailStyle
Inherits
Enum
Remarks
ExampleMetadata: infused
Examples
new UserPool(this, "myuserpool", new UserPoolProps {
// ...
SelfSignUpEnabled = true,
UserVerification = new UserVerificationConfig {
EmailSubject = "Verify your email for our awesome app!",
EmailBody = "Thanks for signing up to our awesome app! Your verification code is {####}",
EmailStyle = VerificationEmailStyle.CODE,
SmsMessage = "Thanks for signing up to our awesome app! Your verification code is {####}"
}
});
Synopsis
Fields
CODE | Verify email via code. |
LINK | Verify email via link. |
value__ |
Fields
CODE
Verify email via code.
public const VerificationEmailStyle CODE
Field Value
Type | Description |
---|---|
VerificationEmailStyle |
LINK
Verify email via link.
public const VerificationEmailStyle LINK
Field Value
Type | Description |
---|---|
VerificationEmailStyle |
value__
public int value__
Field Value
Type | Description |
---|---|
System.Int32 |