Skip to content

Defining WebSocket API Gateway Endpoints in a SAM Template

Notifications You must be signed in to change notification settings

dsandor/example-ws-gateway-sam

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Example WebSocket API Gateway with SAM Template and WebSocket Request Authorizer

This repo is the code for the article I wrote here.

Install

yarn install

Deploy to AWS

First make sure your AWS CLI credentials are configured.

Next, make sure you have the SAM CLI installed and working.

yarn deploy

Files

The test route handler is defined in the index.js file.

The Request Authorizer is in the authorizer.js file.

The SAM Template is the template.yaml file.

About

Defining WebSocket API Gateway Endpoints in a SAM Template

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages