Step 1: Setting up Amazon S3 buckets
B2B Data Interchange requires Amazon S3 buckets to store your input JSON files and output EDI documents. You must configure appropriate permissions and enable EventBridge notifications for automated document processing.
Creating input and output buckets
To create Amazon S3 buckets
-
Open the Amazon S3 console at https://console.aws.amazon.com/s3/
. -
Choose Create bucket.
-
For the input bucket:
-
For Bucket name, enter
my-b2bi-outbound-input-.account-id -
Choose your Region (must match where you'll use B2B Data Interchange).
-
Keep other settings at their defaults.
-
-
Choose Create bucket.
-
Repeat steps 2-4 to create an output bucket named
my-b2bi-outbound-output-.account-id
Enabling EventBridge notifications
To enable notifications for your buckets
-
In the Amazon S3 console, choose your input bucket.
-
Choose the Properties tab.
-
In the EventBridge section, choose Edit.
-
Choose On, then choose Save changes.
-
Repeat steps 1-4 for your output bucket.
Important
After enabling EventBridge, wait at least 5 minutes before adding files to your buckets. This allows time for the changes to take effect.
Configuration summary
- Required settings
-
-
Input and output bucket names (globally unique)
-
Region (must match your B2B Data Interchange Region)
-
EventBridge notifications enabled on both buckets
-
- Example bucket names
-
-
Input:
my-b2bi-outbound-input-account-id -
Output:
my-b2bi-outbound-output-account-id
-