Skip to content

AWS Serverless repo application that creates an API Gateway endpoint connected to a Lambda function that returns html

License

Notifications You must be signed in to change notification settings

zeisys/lambda-web-page-example

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lambda-web-page

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)

Intallation

Install this component from the AWS Serverless Repository

Local development

To use / modify etc the source code you can get started by:

  1. Clone this repo

  2. From the command line navigate to the /lambda folder and run npm run mock. This will mock the html response by creating an HTML file as mock/mocked-response.html

  3. This component can be built using AWS Codebuild. Use the buildspec.yaml template if building using Codebuild

About

AWS Serverless repo application that creates an API Gateway endpoint connected to a Lambda function that returns html

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 91.7%
  • HTML 8.3%