DEV Community

Asanka Boteju
Asanka Boteju

Posted on

2 1 1

Flow of Setting up Lambda function invocation via API Gateway to perform a DynamoDB read/write operation

Image description

Typical Authenticated Lambda function invocation via API Gateway which will perform a DynamoDB read/write operation

  1. Acquiring a token passing credentials.
  2. Invoking the API Gateway endpoint passing the JWT token.
  3. API Gateway validates the token.
  4. Upon successful Auth token validation, API Gateway routes the request to the desired destination lambda function.
  5. Retrieve any credentials stored.
  6. Retrieve / Save the incoming payload to the database.

Top comments (0)

Sentry image

See why 4M developers consider Sentry, “not bad.”

Fixing code doesn’t have to be the worst part of your day. Learn how Sentry can help.

Learn more

👋 Kindness is contagious

Please show some love ❤️ or share a kind word in the comments if you found this useful!

Got it!