Skip to content

ManueleNolli/AwsLambdaSimpleEmailService

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AWS Lambda Email Service

This repository contains an AWS Lambda function that sends emails using Amazon Simple Email Service (SES) 📬

Requirements

  • AWS Account with SES configured

Installation and Usage

To deploy the Lambda function, you will need to set up the AWS CDK. For detailed instructions, please refer to the PersonalWebsiteAWS repository.

Folder Structure

index.ts # Lambda function code
services/
    ses.ts

Deployment Overview

The Lambda function is designed to handle email sending requests using AWS SES. Make sure to configure your SES settings (e.g., verified email addresses) to avoid any delivery issues.

Environment keys

Create a .env file like .env.example where is written the region of you AWS SES.

AWS Services Used

AWS CDK

For a complete overview of the AWS infrastructure used, including the email service setup, check out the PersonalWebsiteAWS repository.

CI/CD

The CI/CD pipeline is implemented using GitHub Actions. The workflow is defined in the file actions.yml.

The steps include:

  1. Tests: Run unit tests for the Lambda function.
  2. Build: Package the Lambda function and its dependencies.
  3. Deploy: Deploy the function to AWS with dependencies in a layer. The code are pushed to an S3 bucket.

This project is a simple and efficient way to handle email communications in your applications. If you have any questions or suggestions, feel free to open an issue! 😊

About

AWS SES triggered by Lambda 📬

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published