Amazon Redshift and Athena adapter
Load workflow output into Amazon Redshift and query Redshift or Athena from a workflow.
PlannedThis page describes what's coming, not working steps.
On this page
The Redshift and Athena adapter will connect MedHook to the AWS analytics services: Amazon Redshift for a data warehouse, and Amazon Athena for SQL over files in S3. It is aimed at healthcare organizations that run their reporting on AWS and want integration data to land there without a separate ETL job.
This adapter is not in the engine yet. The engine on this release registers no Redshift or Athena adapter.
What works today
There is no direct path into Redshift or Athena. The closest option uses a shipped adapter:
- The Amazon S3 adapter writes objects to a bucket. Athena tables, or a Redshift
COPYthat you run, can read those files. MedHook does not start or watch that step.
What's coming
- Redshift write. A destination step that inserts rows built from the message into a Redshift table, with values bound as parameters.
- Query. A step that runs a parameterized query on Redshift or Athena and passes the rows on, for lookups or for one execution per row on a schedule.
- AWS sign-in. Requests signed with AWS Signature Version 4, reusing the signer the S3 adapter and the CloudWatch log exporter already use.
- PHI handling. Rows are not logged, and the same retention rules apply as for any other step output.
For now, Redshift and Athena work builds on the SQL database reader and writer, which support PostgreSQL, SQL Server, MySQL and Oracle today.