cloudwatch-alarm-ses-template

command module
v0.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 5, 2022 License: MIT Imports: 10 Imported by: 0

README

Lambda Templated Emails with Amazon SES

This Lambda will convert an SNS event into an SES SendTemplatedEmail API request using the parameters in your SES template configured through environment variables.

It will transfer the payload directly without converting or manipulating data, and the rest is up to your email template to be handled.

Configuration

This is obviously an AWS lambda application, so configure it accordingly with the following environment variables set, and make sure to set the SES:SendTemplatedEmail IAM permissions.

You can test it once configured with the example SNS payload before associating it to an alarm with an SNS topic/subscription.

Name Purpose
SES_TEMPLATE The SES template to use for this SendTemplatedEmail request.
EMAIL_FROM_ADDRESS The email address in the from field.
EMAIL_TO_ADDRESSES The email address in the to field.
EMAIL_CC_ADDRESSES The optional email address in the cc field.
EMAIL_REPLY_TO_ADRESSES The email address in the reply-to field.

Licence

MIT

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL