Skip to content

To use the Kinesis Stream in Serverless Framework.

Notifications You must be signed in to change notification settings

katsuhiko/sls-kinesis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sls Kinesis

To use the Kinesis Stream in Serverless Framework.

Installation

Make sure that you use Serverless v1.

  1. Run serverless install --url https://github.com/katsuhiko/sls-kinesis to install the service in your current working directory
  2. Next up cd into the service with cd sls-kinesis
  3. Run npm install
  4. Deploy with serverless deploy

How to use

Simply perform requests against the exposed endpoints:

Create

curl -X POST https://XXXX.execute-api.ap-northeast-1.amazonaws.com/dev/todos --data '{ "content" : "Learn Serverless" }'

Update

curl -X PATCH https://XXXX.execute-api.ap-northeast-1.amazonaws.com/dev/todos/<id> --data '{ "content" : "Understand Serverless" }'

Delete

curl -X DELETE https://XXXX.execute-api.ap-northeast-1.amazonaws.com/dev/todos/<id>

About

To use the Kinesis Stream in Serverless Framework.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published