- Newest
- Most votes
- Most comments
Hello! The AWS Transfer family service team would like to learn more about your use-case to recommend solutions for this need, as well inform the feature roadmap for AS2 offering. Request you to reach out to the service team via AWS support or your account team.
Hello! Transfer Family documentation now provides a deployable solution to intercept the request and add the custom header for your outbound AS2 messages - https://docs.aws.amazon.com/transfer/latest/userguide/as2-custom-http-headers.html
Unfortunately, AWS Transfer Family does not currently provide a way to directly intercept or modify the outbound AS2 message headers before they are sent to your trading partner. The AS2 connector in Transfer Family handles the message preparation and sending process internally, and there isn't a built-in mechanism to add custom headers like Content-Disposition.
However, there are a few potential workarounds you could consider:
-
Check if your trading partner can accept the filename through alternative means, such as within the AS2 message body or through a pre-arranged naming convention.
-
Contact AWS Support to see if they can provide a solution or if this feature might be added in the future. AWS regularly updates their services based on customer feedback.
-
Consider using a different AS2 solution that allows more granular control over message headers if this is a critical requirement for your use case.
As for inspecting the request headers, you're correct that this information is not available in CloudWatch logs. Transfer Family's logging is primarily focused on the overall transfer status and outcomes rather than the specific message details.
If you need to verify the exact contents of the AS2 messages being sent, you might need to set up a test environment with your trading partner where they can provide you with the full details of the received messages, including headers.
Remember that while Transfer Family aims to be compliant with AS2 standards, it may not support all possible customizations that some legacy or highly specialized AS2 implementations might require.
Sources
AWS Transfer Family for AS2 - AWS Transfer Family
Monitoring AS2 usage - AWS Transfer Family
Relevant content
- asked 6 months ago
- asked a year ago
