Skip to content

aws-samples/simplified-serverless-b2b-application

Simplifying B2B integrations with AWS Step Functions Workflow Studio

This repository contains an AWS Serverless Application Model (SAM) template to deploy a customizable, serverless B2B pipeline.

Solution Overview

This solution introduces a customizable, serverless architecture for B2B integrations using AWS Step Functions which provides both the code customizability of AWS Lambda with the low-code, visual building experience of Workflow Studio. This implementation supports both real-time and batch B2B integrations.

The following diagram illustrates components and interactions of the example B2B pipeline architecture:

Build

To build and deploy the application for the first time, run the following in your shell:

cd simplified-serverless-b2b-application
sam build
sam deploy --guided --capabilities CAPABILITY_NAMED_IAM

Cleanup

To delete the application, use the AWS CLI replacing <stack-name> with the stack name you configured during deployment, and run the following:

aws cloudformation delete-stack --stack-name <stack-name>

Navigate to the S3 console and both Empty then Delete S3 buckets created from the stack: <stack-name>-cloudtrails3bucket-<uniqueId> and <stack-name>-sftpservers3bucket-<uniqueId>

Navigate to the CloudWatch console and delete the following log groups created from the stack: /aws/lambda/IntakeSingleTransactionLambdaFunction, /aws/lambda/SingleQueueUploadLambda, and /aws/lambda/TriggerStepFunctionsLambdaFunction.

Security

See CONTRIBUTING for more information.

License

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