【文件属性】:
文件名称:aws-lambda-puppeteer-template:在AWS Lambda上运行puppeteer的模板
文件大小:8KB
文件格式:ZIP
更新时间:2021-04-17 08:13:56
JavaScript
aws-lambda-puppeteer-模板
在AWS Lambda上运行puppeteer的模板
环保
强制的
Nodejs 8.10> =
AWS CLI
如有需要
码头工人
如何使用
对于那些想暂时搬家的人创建IAM角色时--capabilities CAPABILITY_IAM请不要忘记--capabilities CAPABILITY_IAM
RAND= $( openssl rand -hex 10 )
aws s3 mb s3://aws-lambda-layer- $RAND --region ap-northeast-1
npm run zip-layer
aws cloudformation package \
--template-file template.yaml \
--s3-bucket aws-lambda-layer- $RAND \
--ou
【文件预览】:
aws-lambda-puppeteer-template-master
----template.yaml(1KB)
----index.js(753B)
----package.json(742B)
----package-lock.json(13KB)
----.gitignore(933B)
----README.md(2KB)
----zip.sh(264B)