chromium/examples/aws-sam/README.md

512 B

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.