Tuesday, February 16, 2021

Using AWS Step Functions and the AWS SDK for Java to build workflows that sends notifications over multiple channels

 You can use Amazon Web Services to create a workflow that sends notifications over multiple channels. There are many practical business needs for this type of functionality. For example, a weather agency needs to warn many people about a storm, or a school wants to send parents alerts when kids are missing.

The use case for this AWS tutorial assumes you work at a school and you need to alert parents when a student skips school. Do you send an email message, do you phone the parents, or do you send a text message to a mobile device? The AWS workflow created in this tutorial sends messages over multiple channels, including email, as shown in this illustration.


In this AWS tutorial, you create an AWS serverless workflow by using the AWS SDK for Java and AWS Step Functions. Each workflow step is implemented by using an AWS Lambda function. Lambda is a compute service that enables you to run code without provisioning or managing servers. For more information about Lambda, see What is AWS Lambda.

To send notifications over multiple channels, you can use these AWS Services:

  • Amazon Pinpoint Service
  • Amazon Simple Notification Service (SNS)
  • Amazon Simple Email Service (SES)

I work on AWS Java code that helps AWS developers. Included in this role is working with AWS Services such as S3, DynamoDB, EC2, Lambda functions, and so on. 

https://www.linkedin.com/in/scottmacdonald2010/

Deploying a Java web application to Amazon ECS

 You can deploy a Java web application that uses the AWS SDK for Java (v2) to Amazon Elastic Container Service (Amazon ECS). Amazon ECS is a...