Amplify Toolbox
    Preparing search index...

    Type Alias VerificationEmailWithLink

    type VerificationEmailWithLink = {
        verificationEmailBody?: (
            createLink: (text?: string) => string,
        ) => string;
        verificationEmailStyle?: "LINK";
        verificationEmailSubject?: string;
    }
    Index

    Properties

    verificationEmailBody?: (createLink: (text?: string) => string) => string

    Customize your verification emails. Use the link parameter to inject verification links into the user verification email. You can customize the link text by providing a string, as shown in the example below.

    verificationEmailStyle: "LINK",
    verificationEmailBody: (createLink) => `Your verification link is ${createLink()}.`
    To customize the link text, you can provide custom link text to the .
    verificationEmailBody: (createLink) => `Your custom verification link is ${createLink('custom link text')}.`
    verificationEmailStyle?: "LINK"

    The type of verification. Must be one of "CODE" or "LINK".

    verificationEmailSubject?: string

    The verification email subject.