apigateway:ListRoutingRules

List

apigateway:ListRoutingRules is a List access-level action in the apigateway service. Grants permission to list routing rules under a domain name

Resource types

ARNs that apigateway:ListRoutingRules can be scoped to in an IAM policy.

arn:${Partition}:apigateway:${Region}:${Account}:/domainnames/${DomainName}/routingrules/${RoutingRuleId}
RoutingRule

Condition keys

Keys you can use in the Condition block of a policy that grants apigateway:ListRoutingRules.

apigateway:Resource/ConditionBasePaths ArrayOfString

Filters access by base paths defined on the condition of the existing routing rule. Available during the UpdateRoutingRule and DeleteRoutingRule operations

apigateway:Resource/Priority Numeric

Filters access by priority of the existing routing rule. Available during the UpdateRoutingRule and DeleteRoutingRule operations

aws:ResourceTag/${TagKey} String

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

Example IAM policy

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

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "AllowApigatewayListRoutingRules",
      "Effect": "Allow",
      "Action": "apigateway:ListRoutingRules",
      "Resource": "*"
    }
  ]
}

Related actions in apigateway

View all apigateway actions →