Created
June 1, 2018 22:17
-
-
Save wreulicke/150b43b29788448cc59d5489eb5faedd to your computer and use it in GitHub Desktop.
EcsEventRole
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"Path": "/", | |
"RoleName": "ecsEventsRole", | |
"RoleId": "<id>", | |
"Arn": "arn:aws:iam::<accountId>:role/ecsEventsRole", | |
"CreateDate": "2018-05-31T01:46:03Z", | |
"AssumeRolePolicyDocument": { | |
"Version": "2012-10-17", | |
"Statement": [ | |
{ | |
"Sid": "", | |
"Effect": "Allow", | |
"Principal": { | |
"Service": "events.amazonaws.com" | |
}, | |
"Action": "sts:AssumeRole" | |
} | |
] | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"Version": "2012-10-17", | |
"Statement": [ | |
{ | |
"Effect": "Allow", | |
"Action": [ | |
"ecs:RunTask" | |
], | |
"Resource": [ | |
"*" | |
] | |
}, | |
{ | |
"Effect": "Allow", | |
"Action": "iam:PassRole", | |
"Resource": [ | |
"*" | |
], | |
"Condition": { | |
"StringLike": { | |
"iam:PassedToService": "ecs-tasks.amazonaws.com" | |
} | |
} | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment