How to pass file key to AWS-ECS container triggered on S3 Put?

Viewed 741

I have an ECS Task Definition which gets triggered whenever a file is put into a specific location in an s3 bucket. My ECS Task definition container has a python script which wants to process the file which has caused the trigger. Is there any way i can pass the filekey due to which trigger is made to the python script ? I want to avoid the use of lambda here.

I have set up the trigger using this guide

1 Answers
Related