Ravi Sir's Cards › AWS
Why SNS instead of SMTP from Lambda?
This interview card answers: Why SNS instead of SMTP from Lambda? No mail server credentials in the function; SNS handles delivery to subscribed emails. Later you can add SMS or another Lambda subscriber without rewriting the form handler. Topic ARN in env; IAM sns:Publish on that ARN only.
Read card text
What this card says
What it is
No mail server credentials in the function; SNS handles delivery to subscribed emails.
Why it matters
Later you can add SMS or another Lambda subscriber without rewriting the form handler.
How / example
Topic ARN in env; IAM sns:Publish on that ARN only.