|
此文章由 luluwatermelon 原创或转贴,不代表本站立场和观点,版权归 oursteps.com.au 和作者 luluwatermelon 所有!转贴必须注明作者、出处和本声明,并保持内容完整
本帖最后由 luluwatermelon 于 2020-5-15 20:08 编辑
在做一个project,不是编程出身,所以软件方面很弱。
有两个要求,一是要在AWS上host 一个static website, integrated with React.js, 二是要实现一个callback function, which return some simple data. Callback 的code 是python编写的。
问题来了,我知道如何在S3上host static website, 也需要用Lambda来跑python code, 但是trigger 是什么呢?API gateway么?
要求是The callback function is some Python code. It can't be executed in the browser, so need to be hosted
somewhere that it can execute in response to a web request. 那么是否是API gateway接收到的http request去trigger lamda 上面的python code?
一点思路都没有,请大家帮帮忙,谢谢。
|
|