Code Monkey home page Code Monkey logo

aws-step-functions-notification-workflow's Introduction

Building your Notifications Workflow with Step Functions

Notifying people in different channels is a daunting experience, whether that is for paging purposes or purely for a contextual notification. In this example, we will use AWS Step Functions to create a Notifications Workflow and Amazon API Gateway to create a simpler API to notify people be that on email, SMS or Slack.


Prerequisites

The following prerequisties must be met before you begin the workshop:

  • AWS Console Access
  • A Slack webhook to post messages to the Slack channel
  • Verify your email address with Amazon SES to send email from your email address. For instructions, see Verifying Email Addresses in Amazon SES.

Architecture

This example uses a simple architecture, hosting a static website in Amazon Simple Storage Service (Amazon S3) to invoke an Amazon API Gateway API. The API is configured with an AWS Service integration which invokes the AWS Step Function state machine for the notifications workflow. Along the way, the task states in the state machine are executing AWS Lambda functions which send SMS via Amazon Simple Notification Service, email via Amazon Simple Email Service and messages to Slack channel via Slack webhook.

Application Architecture

This repository contains sample code for step function, all the Lambda functions depicted in the diagram as well as an AWS CloudFormation template to create the requied IAM roles and S3 bucket for hosting static web site.


Workshop Activities

  1. Lab Setup
  2. Creating Lambda functions
  3. Creating a state machine
  4. Creating and deploying Notification workflow API Using API Gateway
  5. Deploying test application and testing the NotificationAPI
  6. Optional : Adding manual approval step to the workflow
  7. Clean Up

License

This library is licensed under the MIT-0 License. See the LICENSE file.


aws-step-functions-notification-workflow's People

Contributors

amazon-auto avatar gurubayari avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

aws-step-functions-notification-workflow's Issues

Missing web.zip in step 5

I get a "page not found" error when I try to download the file. Appreciate if you can reupload the file

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.