apigateway:UpdateRoutingRule

Write

apigateway:UpdateRoutingRule is a Write access-level action in the apigateway service. Grants permission to update a routing rule using the PutRoutingRule API

Resource types

ARNs that apigateway:UpdateRoutingRule 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:UpdateRoutingRule.

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:UpdateRoutingRule. Replace "Resource": "*" with a specific ARN to follow least privilege.

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

Related actions in apigateway

View all apigateway actions →