enum VerificationEmailStyle
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.Cognito.VerificationEmailStyle |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awscognito#VerificationEmailStyle |
Java | software.amazon.awscdk.services.cognito.VerificationEmailStyle |
Python | aws_cdk.aws_cognito.VerificationEmailStyle |
TypeScript (source) | aws-cdk-lib » aws_cognito » VerificationEmailStyle |
The email verification style.
Example
new cognito.UserPool(this, 'myuserpool', {
// ...
selfSignUpEnabled: true,
userVerification: {
emailSubject: 'Verify your email for our awesome app!',
emailBody: 'Thanks for signing up to our awesome app! Your verification code is {####}',
emailStyle: cognito.VerificationEmailStyle.CODE,
smsMessage: 'Thanks for signing up to our awesome app! Your verification code is {####}',
},
});
Members
Name | Description |
---|---|
CODE | Verify email via code. |
LINK | Verify email via link. |
CODE
Verify email via code.
LINK
Verify email via link.