![]() ![]() ![]() More specifically, there are 2 new triggers: We will see how to deploy them with Cloudformation and Terraform. The code is not copypastable and some steps in the instructions are missing.įurthermore it doesn't show how to configure custom email and SMS senders with infrastructure as code.īelow is a guide to deploying and using these new Cognito Lambda triggers. Sometime late 2020, AWS added a new type of Lambda trigger to Cognito: Custom Sender Lambda Triggers.Ĭognito documentation is a bit lacking. invoked by CustomMessage_ForgotPassword user action) but it will only allow you to customize the email subject and body, not change the underlying transport. ![]() There's a Custom message Lambda trigger (e.g. You want to reuse high-reputation IP addresses managed by the ESP.You do not want to (additionally) authenticate SES origin (SPF, DKIM, DMARC).The email template is large (html and css-wise) and it doesn't fit into Cognito's 20k characters limit.Your company relies on analytics tools provided by ESPs which you wouldn't have with SES.Users need a way to unsubscribe from the emails they receive (subscription status tracked by the ESP).Designers need easy access to the email templates in the ESP UI.But what if you have a requirement to use a 3rd party ESP (Email Service Provider), like Twilio Sendgrid or Mailgun/Sendinblue/Mailchimp? Some of the reasons could be: Usually it makes sense, you're already in the AWS ecosystem anyway. In AWS Cognito, the default method of sending emails and SMS messages is AWS' own services: SES and SNS correspondingly. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |