I am referring to this article about ECS task definition: Amazon ECS Task definitions
The Docker image to use with each container in your task
How much CPU and memory to use with each task or each container within a task
The launch type to use, which determines the infrastructure on which your tasks are hosted
The Docker networking mode to use for the containers in your task
The logging configuration to use for your tasks
Whether the task should continue to run if the container finishes or fails
The command the container should run when it is started
Any data volumes that should be used with the containers in the task
The IAM role that your tasks should use
If I have to draw any similarity with other orchestration frameworks, the above seems to be closely matching with Kubernetes pod.
So, is ECS Task Definition more or less same as POD specification in K8S????
The short answer is YES but more similar to deployment rather than pods.
The longer answer is that ECS task definitions is a way to integrate containers to the AWS ecosystem and provides the configuration and metadata information to the ECS control plane which is AWS's propriety