Role
Source:
src/AWS/IAM/Role.ts
An IAM role for AWS services and runtimes.
Creating Roles
Section titled “Creating Roles”const role = yield* Role("TaskRole", { assumeRolePolicyDocument: { Version: "2012-10-17", Statement: [{ Effect: "Allow", Principal: { Service: "ecs-tasks.amazonaws.com" }, Action: ["sts:AssumeRole"], }], },});