In Amazon ECS, what is the security distinction between an ECS task execution role and an ECS task role?
-
A
The execution role is used by the running application; the task role is used by the ECS agent to pull images and write logs
-
B
The task execution role is used by the ECS agent to pull images and write logs; the task role is assumed by the application code inside the container
-
C
Both roles serve identical purposes and are interchangeable
-
D
The task role is only used with Fargate launch type; the execution role is only for EC2 launch type