ecs:DescribeGatewayRoute

Read

ecs:DescribeGatewayRoute is a Read access-level action in the ecs service. Grants permission to describe a route for an Amazon ECS gateway

Resource types

ARNs that ecs:DescribeGatewayRoute can be scoped to in an IAM policy.

arn:${Partition}:ecs:${Region}:${Account}:gateway/${GatewayName}/${GatewayId} required
gateway
arn:${Partition}:ecs:${Region}:${Account}:gateway-route/${GatewayName}/${GatewayId}/${RouteId} required
gateway-route

Condition keys

Keys you can use in the Condition block of a policy that grants ecs:DescribeGatewayRoute.

aws:ResourceTag/${TagKey} String

Filters access by the tag key-value pairs attached to the resource

ecs:gateway ARN

Filters access by the ARN of an Amazon ECS gateway

Example IAM policy

A minimal policy that allows ecs:DescribeGatewayRoute. Replace "Resource": "*" with a specific ARN to follow least privilege.

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "AllowEcsDescribeGatewayRoute",
      "Effect": "Allow",
      "Action": "ecs:DescribeGatewayRoute",
      "Resource": "*"
    }
  ]
}

Related actions in ecs

View all ecs actions →