ecs:ListGatewayRoutes is a List access-level action in the ecs service. Grants permission to list the routes for an Amazon ECS gateway
ARNs that ecs:ListGatewayRoutes can be scoped to in an IAM policy.
Keys you can use in the Condition block of a policy that grants ecs:ListGatewayRoutes.
Filters access by the tag key-value pairs attached to the resource
Filters access by the ARN of an Amazon ECS cluster
Filters access by the ARN of an Amazon ECS gateway
Filters access by the ARN of an Amazon ECS service
A minimal policy that allows ecs:ListGatewayRoutes. Replace "Resource": "*" with a specific ARN to follow least privilege.
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "AllowEcsListGatewayRoutes",
"Effect": "Allow",
"Action": "ecs:ListGatewayRoutes",
"Resource": "*"
}
]
}