|
|
||
|---|---|---|
| .. | ||
| functions/exampleFunction | ||
| layers/chromium | ||
| .gitignore | ||
| .gitkeep | ||
| README.md | ||
| template.yml | ||
README.md
Chromium as a Layer for AWS SAM
-
Install AWS SAM CLI: https://github.com/aws/aws-sam-cli/
-
Ensure Docker is installed and running: https://www.docker.com/
-
Build the project:
sam build -
Invoke the AWS Lambda Function locally with:
sam local invoke ExampleFunctionThis example connects to https://www.example.com and outputs the page's title as the function result. See the source code in
app.mjsfor more details.