in cdk/src/Todo/Modules/FargateTaskRole.cs [13:29]
public FargateTaskRole(Construct scope, string id): base(scope, id)
{
this.scope = scope;
this.id = id;
this.Role = GetRole(
this, id+"-role",
Utilities.ServiceBuilder.GetTaskDefinitionTaskRoleManagedPolicyARNs(),
new string[]{
Constants.CODE_TASK_DEFINITION_TASK_ROLE_SERVICE,
Constants.CODE_TASK_DEFINITION_EXECUTION_SERVICE
},
"ecsTaskExecutionRole",
Utilities.ServiceBuilder.GetTaskDefinitionTaskRoleActions(),
"*"
);
}