{{ }} Substitute variables
Adjust the variable values according to your preference.
Policy Code
1{
2 "Version": "2012-10-17",
3 "Statement": [
4 {
5 "Action": "sts:AssumeRole",
6 "Effect": "Allow",
7 "Principal": {
8 "Service": "ecs-tasks.amazonaws.com"
9 }
10 }
11 ]
12}