I have a resource definition
APITaskDefinition:
Type: 'AWS::ECS::TaskDefinition'
Properties:
...
ExecutionRoleArn:
<RoleADefinition here>
...
TaskRoleArn:
<RoleBDefinition here>
...
This would be great given these roles are only going to be used by this resoure APITaskDefinition and is considered best practice to use a specific role for each resource which is going to require one