Logstash on Docker for AWS ECS

I want to create a docker image of Logstash make configuration changes in the container I am not able to find how can I set pipeline and config file for Logstash

The core documentation has some tips on how to configure Logstash inside the container.

Please don't create multiple threads on the same question - How to run Logstash on Docker-compose