Skip to content

This is an AWS CDK prototype project illustrating the use of serverless technologies to implement a GraphQL "reviews" API that directly invokes EventBridge to add an event to the event bus which kicks off an asynchronous workflow orchestrated by Step Functions

Notifications You must be signed in to change notification settings

djheru/step-functions-sentiment

Repository files navigation

Asynchronous Workflows with AWS AppSync GraphQL, AWS EventBridge, and AWS Step Functions

This is a blank project for TypeScript development with CDK.

The cdk.json file tells the CDK Toolkit how to execute your app.

Useful commands

  • npm run build compile typescript to js
  • npm run watch watch for changes and compile
  • npm run test perform the jest unit tests
  • cdk deploy deploy this stack to your default AWS account/region
  • cdk diff compare deployed stack with current state
  • cdk synth emits the synthesized CloudFormation template

Diagram

System Diagram

Install EventBridge CLI Tool

curl -OL https://github.com/spezam/eventbridge-cli/releases/download/v1.7.0/eventbridge-cli_1.7.0_darwin_amd64.tar.gz
tar xvfz eventbridge-cli_1.7.0_darwin_amd64.tar.gz
mv eventbridge-cli /usr/local/bin
chmod +x /usr/local/bin/eventbridge-cli

Listen for events on a given event bus

eventbridge-cli --eventbusname SentimentAnalysisReviewsEventBus

About

This is an AWS CDK prototype project illustrating the use of serverless technologies to implement a GraphQL "reviews" API that directly invokes EventBridge to add an event to the event bus which kicks off an asynchronous workflow orchestrated by Step Functions

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published