chromium/examples/aws-sam
Kyle McNally 39b6e95275 More updates 2024-08-19 09:56:38 -04:00
..
functions/exampleFunction More updates 2024-08-19 09:56:38 -04:00
layers/chromium Update SAM example to v119; fix readme link 2023-11-14 09:13:30 +10:00
.gitignore Add AWS SAM LayerVersion example 2023-11-13 18:59:57 +10:00
.gitkeep Add a few todo examples 2023-02-09 11:23:24 -05:00
README.md Update SAM example to v119; fix readme link 2023-11-14 09:13:30 +10:00
template.yml Add AWS SAM LayerVersion example 2023-11-13 18:59:57 +10:00

README.md

Chromium as a Layer for AWS SAM

  1. Install AWS SAM CLI: https://github.com/aws/aws-sam-cli/

  2. Ensure Docker is installed and running: https://www.docker.com/

  3. Build the project:

    sam build
    
  4. Invoke the AWS Lambda Function locally with:

    sam local invoke ExampleFunction
    

    This example connects to https://www.example.com and outputs the page's title as the function result. See the source code in app.mjs for more details.