We recommend new projects start with resources from the AWS provider.
AWS Cloud Control v1.28.0 published on Monday, May 19, 2025 by Pulumi
aws-native.apigatewayv2.getRoutingRule
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
AWS Cloud Control v1.28.0 published on Monday, May 19, 2025 by Pulumi
Schema for AWS::ApiGatewayV2::RoutingRule
Using getRoutingRule
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getRoutingRule(args: GetRoutingRuleArgs, opts?: InvokeOptions): Promise<GetRoutingRuleResult>
function getRoutingRuleOutput(args: GetRoutingRuleOutputArgs, opts?: InvokeOptions): Output<GetRoutingRuleResult>
def get_routing_rule(routing_rule_arn: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetRoutingRuleResult
def get_routing_rule_output(routing_rule_arn: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetRoutingRuleResult]
func LookupRoutingRule(ctx *Context, args *LookupRoutingRuleArgs, opts ...InvokeOption) (*LookupRoutingRuleResult, error)
func LookupRoutingRuleOutput(ctx *Context, args *LookupRoutingRuleOutputArgs, opts ...InvokeOption) LookupRoutingRuleResultOutput
> Note: This function is named LookupRoutingRule
in the Go SDK.
public static class GetRoutingRule
{
public static Task<GetRoutingRuleResult> InvokeAsync(GetRoutingRuleArgs args, InvokeOptions? opts = null)
public static Output<GetRoutingRuleResult> Invoke(GetRoutingRuleInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetRoutingRuleResult> getRoutingRule(GetRoutingRuleArgs args, InvokeOptions options)
public static Output<GetRoutingRuleResult> getRoutingRule(GetRoutingRuleArgs args, InvokeOptions options)
fn::invoke:
function: aws-native:apigatewayv2:getRoutingRule
arguments:
# arguments dictionary
The following arguments are supported:
- Routing
Rule stringArn - Amazon Resource Name (ARN) of the resource.
- Routing
Rule stringArn - Amazon Resource Name (ARN) of the resource.
- routing
Rule StringArn - Amazon Resource Name (ARN) of the resource.
- routing
Rule stringArn - Amazon Resource Name (ARN) of the resource.
- routing_
rule_ strarn - Amazon Resource Name (ARN) of the resource.
- routing
Rule StringArn - Amazon Resource Name (ARN) of the resource.
getRoutingRule Result
The following output properties are available:
- Actions
List<Pulumi.
Aws Native. Api Gateway V2. Outputs. Routing Rule Action> - Conditions
List<Pulumi.
Aws Native. Api Gateway V2. Outputs. Routing Rule Condition> - Priority int
- Routing
Rule stringArn - Amazon Resource Name (ARN) of the resource.
- Routing
Rule stringId - RoutingRule Id generated by service
- Actions
[]Routing
Rule Action - Conditions
[]Routing
Rule Condition - Priority int
- Routing
Rule stringArn - Amazon Resource Name (ARN) of the resource.
- Routing
Rule stringId - RoutingRule Id generated by service
- actions
List<Routing
Rule Action> - conditions
List<Routing
Rule Condition> - priority Integer
- routing
Rule StringArn - Amazon Resource Name (ARN) of the resource.
- routing
Rule StringId - RoutingRule Id generated by service
- actions
Routing
Rule Action[] - conditions
Routing
Rule Condition[] - priority number
- routing
Rule stringArn - Amazon Resource Name (ARN) of the resource.
- routing
Rule stringId - RoutingRule Id generated by service
- actions
Sequence[Routing
Rule Action] - conditions
Sequence[Routing
Rule Condition] - priority int
- routing_
rule_ strarn - Amazon Resource Name (ARN) of the resource.
- routing_
rule_ strid - RoutingRule Id generated by service
- actions List<Property Map>
- conditions List<Property Map>
- priority Number
- routing
Rule StringArn - Amazon Resource Name (ARN) of the resource.
- routing
Rule StringId - RoutingRule Id generated by service
Supporting Types
RoutingRuleAction
RoutingRuleActionInvokeApi
- Api
Id string - Stage string
- Strip
Base boolPath
- Api
Id string - Stage string
- Strip
Base boolPath
- api
Id String - stage String
- strip
Base BooleanPath
- api
Id string - stage string
- strip
Base booleanPath
- api_
id str - stage str
- strip_
base_ boolpath
- api
Id String - stage String
- strip
Base BooleanPath
RoutingRuleCondition
RoutingRuleMatchBasePaths
- Any
Of List<string>
- Any
Of []string
- any
Of List<String>
- any
Of string[]
- any_
of Sequence[str]
- any
Of List<String>
RoutingRuleMatchHeaderValue
- header str
- value_
glob str
RoutingRuleMatchHeaders
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.
AWS Cloud Control v1.28.0 published on Monday, May 19, 2025 by Pulumi