Skip to contents

Creates a RoutingRule.

See https://www.paws-r-sdk.com/docs/apigatewayv2_create_routing_rule/ for full documentation.

Usage

apigatewayv2_create_routing_rule(
  Actions,
  Conditions,
  DomainName,
  DomainNameId = NULL,
  Priority
)

Arguments

Actions

[required] Represents a routing rule action. The only supported action is invokeApi.

Conditions

[required] 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.

DomainName

[required] The domain name.

DomainNameId

The domain name ID.

Priority

[required] Represents the priority of the routing rule.