lambda-surf:使用 AWS Lambda 和 Slack 自动浏览网页

时间:2021-05-31 14:00:37
【文件属性】:
文件名称:lambda-surf:使用 AWS Lambda 和 Slack 自动浏览网页
文件大小:145KB
文件格式:ZIP
更新时间:2021-05-31 14:00:37
nodejs javascript slack automation aws-lambda 拉姆达冲浪 使用Lambda,无头Chrome,Puppeteer和Slack,可以自动进行网络冲浪,因此您无需这样做。 这个 repo 有一篇,其中包含背景、实现说明和演示。 设置和安装 克隆 repo 并安装依赖项: npm install 配置 该解决方案使用进行配置,因此您需要使用以下配置设置在 repo 的根目录中创建一个.env文件: 多变的 评论 环境 用于 AWS 资源的命名约定以区分部署之间的环境,通常设置为test或prod 。 TASKS_LOCATION 被插件任务提供者用作加载任务的目录位置,在演示中它被设置为../../tasks或../../test-tasks SLACK_ENDPOINT 由 Slack 通知程序使用,应设置为 Slack 应用程序通道 Webhook 的 Webhook 端点(请参阅下面的配置 Slack)。 AWS_RE
【文件预览】:
lambda-surf-main
----package.json(1KB)
----infrastructure()
--------aws.yml(532B)
----.eslintrc.json(266B)
----.prettierrc(89B)
----testing()
--------integration()
----jest.config.js(403B)
----LICENSE(1KB)
----package-lock.json(442KB)
----src()
--------tasks()
--------test-tasks()
--------integration()
----.gitignore(2KB)
----.serverless_plugins()
--------task-schedules()
----README.md(5KB)

网友评论