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 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南