
This sample project shows how to send an email with pre-signed Amazon S3 bucket URL whenever a file is uploaded into the bucket.
git clone https://github.com/aws-samples/serverless-patterns/cd serverless-patterns/s3-lambda-ses-samSee the GitHub repo for detailed deployment instructions.sam deploy -gaws s3 rm s3://{MyBucketName} --recursive --region {my-region}sam delete