'Can't use verification link twice in AWS Cognito Custom message Lambda trigger

We're using AWS Lambda function to customize Cognito emails. But when I want to use the verification link twice in the custom email message, it doesn't show the first link as a link but as a placeholder like below


Willkommen!

Link:

{##Verify Your Email##}

Welcome!

Link:

Verify Your Email(second link injected as a link)


The first placeholder

{##Verify Your Email##}

should be also a link like the second one.

Note: I couldn't find anything about using links multiple times in the documentation https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-pool-settings-email-verification-message-customization.html



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source