Event-Driven EDI Transformation using AWS B2B Data Interchange

Amazon S3 → AWS B2B Data Interchange → Amazon S3 → Amazon EventBridge → Amazon SQS

Integrate AWS B2B Data Interchange transformations with Amazon EventBridge and Amazon SQS.

An X12 EDI file is uploaded into the input Amazon S3 bucket.
File upload action triggers AWS B2B Data Interchange Transformers to transform the X12 EDI file into JSON format.
The transformed JSON file is uploaded into the output Amazon S3 bucket.
AWS B2B Data Interchange send the transformation completion event to Amazon EventBridge default bus.
Amazon EventBridge Rule selects the desired events and forward that to Amazon SQS.

< Back to all patterns

GitHub icon Download this pattern (.zip)

GitHub icon View this pattern on GitHub


Clone repo

git clone https://github.com/aws-samples/serverless-patterns/cd serverless-patterns/s3-b2bi-eventbridge-sqs

Deploy

See the GitHub repo for detailed deployment instructions.sam deploy -g


Testing

See the GitHub repo for detailed testing instructions.

Cleanup

Delete the Amazon S3 input bucket content: aws s3 rm s3://{EDI214InputBucketName} --recursive --region {my-region}
Delete the Amazon S3 output bucket content: aws s3 rm s3://{EDI214OutputBucketName} --recursive --region {my-region}
sam delete

Created by:

Biswanath Mukherjee

Biswanath Mukherjee

Sr. Solutions Architect working at AWS India.

Follow on LinkedIn