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

已提问 2 年前320 查看次数
1 回答
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
专家
已回答 2 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则