import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Represents a routing rule. When the incoming request to a domain name matches the conditions for a rule, API Gateway invokes a stage of a target API. Supported only for REST APIs. */ export declare function getRoutingRule(args: GetRoutingRuleArgs, opts?: pulumi.InvokeOptions): Promise; export interface GetRoutingRuleArgs { /** * Represents an Amazon Resource Name (ARN). */ routingRuleArn: string; } export interface GetRoutingRuleResult { /** * The resulting action based on matching a routing rules condition. Only InvokeApi is supported. */ readonly actions?: outputs.apigatewayv2.RoutingRuleAction[]; /** * The conditions of the routing rule. */ readonly conditions?: outputs.apigatewayv2.RoutingRuleCondition[]; /** * 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. */ readonly priority?: number; /** * Represents an Amazon Resource Name (ARN). */ readonly routingRuleArn?: string; /** * The identifier. */ readonly routingRuleId?: string; } /** * Represents a routing rule. When the incoming request to a domain name matches the conditions for a rule, API Gateway invokes a stage of a target API. Supported only for REST APIs. */ export declare function getRoutingRuleOutput(args: GetRoutingRuleOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; export interface GetRoutingRuleOutputArgs { /** * Represents an Amazon Resource Name (ARN). */ routingRuleArn: pulumi.Input; }