https://github.com/garysassano/cdk-aws-eventbridge-webhooks-momento
CDK app that demonstrates how to use Amazon EventBridge to send webhook events to Momento
https://github.com/garysassano/cdk-aws-eventbridge-webhooks-momento
amazon-eventbridge aws aws-cdk cdk dynamodb dynamodb-streams eventbridge eventbridge-pipes momento momento-cache momento-topics webhook
Last synced: 2 months ago
JSON representation
CDK app that demonstrates how to use Amazon EventBridge to send webhook events to Momento
- Host: GitHub
- URL: https://github.com/garysassano/cdk-aws-eventbridge-webhooks-momento
- Owner: garysassano
- License: apache-2.0
- Created: 2024-08-30T20:41:20.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2024-12-28T21:03:51.000Z (4 months ago)
- Last Synced: 2025-01-04T15:55:13.559Z (4 months ago)
- Topics: amazon-eventbridge, aws, aws-cdk, cdk, dynamodb, dynamodb-streams, eventbridge, eventbridge-pipes, momento, momento-cache, momento-topics, webhook
- Language: TypeScript
- Homepage:
- Size: 530 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# cdk-aws-eventbridge-webhooks-momento
CDK app that demonstrates how to use Amazon EventBridge to send webhook events to Momento.
## Prerequisites
- **_AWS:_**
- Must have authenticated with [Default Credentials](https://docs.aws.amazon.com/cdk/v2/guide/cli.html#cli_auth) in your local environment.
- Must have completed the [CDK bootstrapping](https://docs.aws.amazon.com/cdk/v2/guide/bootstrapping.html) for the target AWS environment.
- **_Momento:_**
- Must have set the `MOMENTO_API_KEY` and `MOMENTO_API_ENDPOINT` variables in your local environment.
- Must have created a cache named `momento-eventbridge-cache` in your Momento account.
- **_Node.js + npm:_**
- Must be [installed](https://docs.npmjs.com/downloading-and-installing-node-js-and-npm) in your system.## Installation
```sh
npx projen install
```## Deployment
```sh
npx projen deploy
```## Usage
### CLI App
```sh
npx projen demo:cli
```### Web App
```sh
npx projen demo:web
```## Cleanup
```sh
npx projen destroy
```## Architecture Diagram
