- We have an AWS Data Pipeline that copies data from S3 into Redshift (
RedshiftCopyActivity
). - We are looking to call a Lambda function when the copy is complete.
My understanding so far is:
- Amazon Event Bus is the recommended way to handle the event and call the function
- Data Pipeline doesn't raise events directly, but does trigger CloudTrail API calls
There is a line in the CloudTrail + Event Bridge page: "If you want to customize the event pattern, choose Edit, make your changes, and choose Save."
Are there any details on how exactly to write this rule match a specific Data Pipeline Id, RedshiftCopyActivity
, and status of "FINISHED"?
Or if there is a simpler way to accomplish this I welcome it, thanks.