Table to manage AWS ECS task definitions. A task definition is required to run Docker containers in Amazon ECS.
INSERT INTO task_definition ("family", task_role_name, execution_role_name, cpu_memory) VALUES ('family', 'task-name', 'task-role', 'vCPU4-25GB');
SELECT * FROM task_definition WHERE family = 'family' AND status IS NULL;
delete from task_definition where family = 'family';
Reference to the container definitions that are passed to the Docker daemon on a container instance.
When you register a task definition, you can specify the total CPU and memory used for the task. This is separate from the cpu and memory values at the container definition level.
The Amazon Resource Name (ARN) of the task execution role that grants the Amazon ECS container agent permission to make AWS API calls on your behalf. The task execution IAM role is required depending on the requirements of your task.
When you register a task definition, you give it a family, which is similar to a name for multiple versions of the task definition, specified with a revision number. The first task definition that's registered into a particular family is given a revision of 1, and any task definitions registered after that are given a sequential revision number.
Region for the ECS service
Revision number to combine with the family parameter
If the task is currently active or not
When you register a task definition, you can provide a task role for an IAM role that allows the containers in the task permission to call the AWS APIs that are specified in its associated policies on your behalf.