AWS Fargate get Input data in python with Step Function

I am implementing a Step Function where by need to get the Input data sent from Step function to AWS Fargate Tasks. Inside the container how to retrieve the Input data from Step Function and how to send the response to the Step Function. The project in ECS is written in python. Please help to suggest how to get the Input data from Step Function to AWS Fargate tasks in python.

@anuborah did you figure it out?

There are quite some examples available where you run ecs task from lambda function and you pass parameters from lambda but this is not what I want.


Thanks a lot . I have accessed this link already before but I am able to output the Fargate response to SQS and continue the lambda execution