Skip to content

CreateRoutingRuleRequest

Source code in docs_src/capo_apigatewayv2/types/create_routing_rule_request.py
class CreateRoutingRuleRequest(TypedDict, closed=True):
    actions: NotRequired[
        "capo_apigatewayv2.types.__list_of_routing_rule_action.__listOfRoutingRuleAction"
    ]
    """<p>Represents a routing rule action. The only supported action is invokeApi.</p>"""
    conditions: NotRequired[
        "capo_apigatewayv2.types.__list_of_routing_rule_condition.__listOfRoutingRuleCondition"
    ]
    """<p>Represents a condition. Conditions can contain up to two matchHeaders conditions and one matchBasePaths conditions. API Gateway evaluates header conditions and base path conditions together. You can only use AND between header and base path conditions.</p>"""
    domain_name: "capo_apigatewayv2.types.__string.__string"
    """<p>The domain name.</p>"""
    domain_name_id: NotRequired["capo_apigatewayv2.types.__string.__string"]
    """<p>The domain name ID.</p>"""
    priority: NotRequired[
        "capo_apigatewayv2.types.routing_rule_priority.RoutingRulePriority"
    ]
    """Represents the priority of the routing rule."""

actions instance-attribute

actions: NotRequired[__listOfRoutingRuleAction]

Represents a routing rule action. The only supported action is invokeApi.

conditions instance-attribute

conditions: NotRequired[__listOfRoutingRuleCondition]

Represents a condition. Conditions can contain up to two matchHeaders conditions and one matchBasePaths conditions. API Gateway evaluates header conditions and base path conditions together. You can only use AND between header and base path conditions.

domain_name instance-attribute

domain_name: __string

The domain name.

domain_name_id instance-attribute

domain_name_id: NotRequired[__string]

The domain name ID.

priority instance-attribute

priority: NotRequired[RoutingRulePriority]

Represents the priority of the routing rule.