aws lambda stream newest data in local html/php

0

I starting using aws and somehow cant figure out how to send newest or stream realtime data that insert into table dynamodb then output at locally html file or php . I know about url lambda but that pretty new feature to use and I coding using python/js

preguntada hace 2 años320 visualizaciones
1 Respuesta
0

You can use API Gateway and Lambda to expose the data in DynamoDB as RESTful APIs.

Use REST API in API Gateway and then configure a Lambda function as the backend integration for API Gateway. From the Lambda function, use the DynamoDB AWS SDK in your language of choice to retrieve the data from DynamoDB, process it and send it back as a response.

From your front-end web application, call the API Gateway endpoint.

An example of an AWS workshop that shows you how to do this is available at https://webapp.serverlessworkshops.io/

It probably has a little more than what you are looking for, but it also shows you other AWS services like Amplify and Cognito.

profile pictureAWS
EXPERTO
respondido hace 2 años

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas