An IAM role attached to an ECS/Fargate task that grants access to other AWS resources.
A key design point of ECS is separating the permission to run infrastructure for the task (the execution role) from the permission the application itself actually uses (the task role).
© 2026 ITBGM