apigateway:CreateRoutingRule is a Write access-level action in the apigateway service. Grants permission to create a routing rule
ARNs that apigateway:CreateRoutingRule can be scoped to in an IAM policy.
Keys you can use in the Condition block of a policy that grants apigateway:CreateRoutingRule.
Filters access by base paths defined on the condition of a routing rule. Available during the CreateRoutingRule and UpdateRoutingRule operations
Filters access by priority of the routing rule. Available during the CreateRoutingRule and UpdateRoutingRule operations
Filters access by tag key-value pairs attached to the resource
A minimal policy that allows apigateway:CreateRoutingRule. Replace "Resource": "*" with a specific ARN to follow least privilege.
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "AllowApigatewayCreateRoutingRule",
"Effect": "Allow",
"Action": "apigateway:CreateRoutingRule",
"Resource": "*"
}
]
}