serverless-plugin-offline-dynamodb-stream:用于模拟dynamodb流脱机触发lambda函数的无服务器插件

时间:2021-05-12 21:12:52
【文件属性】:
文件名称:serverless-plugin-offline-dynamodb-stream:用于模拟dynamodb流脱机触发lambda函数的无服务器插件
文件大小:169KB
文件格式:ZIP
更新时间:2021-05-12 21:12:52
dynamodb serverless-framework serverless-offline JavaScript 无服务器插件离线动态生成流 无服务器框架离线插件以支持dynamodb流 该插件从dynamodb流中拉出,并在检测到任何记录时触发无服务器功能。 安装 安装套件 $ npm install --save serverless-plugin-offline-dynamodb-stream 用法 将以下配置添加到serverless.yml文件。 plugins : - serverless-plugin-offline-dynamodb-stream - serverless-plugin-offline-kinesis-stream custom : dynamodbStream : host : {LOCAL_DYNAMODB_HOST} port : {LOCAL_DYNAMODB_PORT} pollForever : boolean
【文件预览】:
serverless-plugin-offline-dynamodb-stream-master
----.gitignore(892B)
----README.md(4KB)
----CHANGELOG.md(42B)
----test()
--------handler.js(389B)
--------test.js(1KB)
--------executeFunctions.test.js(2KB)
----.prettierrc(53B)
----LICENSE(1KB)
----.gitattributes(19B)
----package.json(1KB)
----src()
--------FunctionExecutable.js(377B)
--------index.js(3KB)
--------executeFunctions.js(1KB)
--------DynamoDBStreamReadable.js(5KB)
----.eslintignore(13B)
----.editorconfig(236B)
----.eslintrc.json(197B)
----circle.yml(1KB)
----package-lock.json(242KB)
----demo()
--------Dockerfile(85B)
--------docker-compose.yml(523B)
--------serverless.yml(1KB)
--------package.json(675B)
--------handler.js(114B)
--------webpack.config.js(655B)
--------package-lock.json(356KB)

网友评论