This component creates an API Gateway endpoint that is linked to a Lambda function that returns HTML (i.e. page can be viewed in a web browser)
Install this component from the AWS Serverless Repository
To use / modify etc the source code you can get started by:
-
Clone this repo
-
From the command line navigate to the
/lambda
folder and runnpm run mock
. This will mock the html response by creating an HTML file asmock/mocked-response.html
-
This component can be built using AWS Codebuild. Use the
buildspec.yaml
template if building using Codebuild