keepalive_lambda

command
v0.5.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 22, 2023 License: MIT Imports: 4 Imported by: 0

README

RCHooks - RingCentral Webhook Keepalive Lambda Function

Keepalive Lambda Function

Installation

Build the lambda function and then upload to AWS:

$ go get github.com/grokify/rchooks
$ cd $GOPATH/src/github.com/grokify/rchooks/apps/keepalive_lambda
$ sh build_lambda.sh

Set the following enviroment variables:

Variable Description
RINGCENTRAL_TOKEN_JSON Permanent token
RINGCENTRAL_SERVER_URL API Server URL, e.g. https://platform.ringcentral.com
RINGCENTRAL_WEBHOOK_DEFINITION_JSON Webhook definition, e.g. create webhook request
Configuration

Add a CloudWatch Event Rule with this Lambda function as the target.

Notes

Blacklist Reasons
  • I/O operation is failed. Details: [Read timed out]
  • Webhook response exceeds max size. Read bytes count: [1024]
  • Webhook responses with code: [404], reason: [Not Found]

Documentation

Overview

main.go

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL