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)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

πŸ‘‹ Kindness is contagious

Engage with a sea of insights in this enlightening article, highly esteemed within the encouraging DEV Community. Programmers of every skill level are invited to participate and enrich our shared knowledge.

A simple "thank you" can uplift someone's spirits. Express your appreciation in the comments section!

On DEV, sharing knowledge smooths our journey and strengthens our community bonds. Found this useful? A brief thank you to the author can mean a lot.

Okay