---
type: resource-type
title: RoutingRule
description: aws resource type AWS::ApiGatewayV2::RoutingRule
name: RoutingRule
lexicon: aws
resource_type: AWS::ApiGatewayV2::RoutingRule
---
`AWS::ApiGatewayV2::RoutingRule`, a resource type of the aws lexicon.

## Properties

- `Actions` (`RoutingRule_Action[]`, required): The resulting action based on matching a routing rules condition. Only InvokeApi is supported.
- `Conditions` (`RoutingRule_Condition[]`, required): The conditions of the routing rule.
- `DomainNameArn` (`string`, required): The ARN of the domain name.
- `Priority` (`number`, required): The order in which API Gateway evaluates a rule. Priority is evaluated from the lowest value to the highest value. Rules can't have the same priority. Priority values 1-1,000,000 are supported.
- `RoutingRuleArn` (`string`, optional)
- `RoutingRuleId` (`string`, optional)

## Attributes

- `RoutingRuleArn`
- `RoutingRuleId`
