Code Monkey home page Code Monkey logo

Comments (3)

nelsonic avatar nelsonic commented on August 22, 2024

Works:
image

from aws-ses-lambda.

nelsonic avatar nelsonic commented on August 22, 2024

Had to add AmazonS3FullAccess policy to the LambdaExecRole in order to save data to S3 from Lambda. https://console.aws.amazon.com/iam/home?region=eu-west-1#/roles/LambdaExecRole
add-AmazonS3FullAccess-to-LambdaExecRole

Given that we are only using this event debugging during development, I'm not going to add this to the README.md But I will include a link in the debug function docs in case anyone else wants to debug their event object using S3.

from aws-ses-lambda.

nelsonic avatar nelsonic commented on August 22, 2024

In addition to the unit tests with 100% coverage, we can test this working in the browser:
Visit: https://eu-west-1.console.aws.amazon.com/lambda/home?region=eu-west-1#/functions/aws-ses-lambda-v1?tab=configuration and edit the test event:
aws-ses-lambda-test-event

Then run the lambda function:
aws-ses-lambda-success-27

You should receive an email:
aws-ses-lambda-email-received

now visit: https://ademoapp.s3-eu-west-1.amazonaws.com/event.json

aws-ses-lambda-event-uploaded

Done. ✅

from aws-ses-lambda.

Related Issues (17)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.