1. Packages
  2. Packages
  3. AWS Cloud Control
  4. API Docs
  5. rtbfabric
  6. getLinkRoutingRule

We recommend new projects start with resources from the AWS provider.

Viewing docs for AWS Cloud Control v1.69.0
published on Monday, Jun 15, 2026 by Pulumi
aws-native logo

We recommend new projects start with resources from the AWS provider.

Viewing docs for AWS Cloud Control v1.69.0
published on Monday, Jun 15, 2026 by Pulumi

    Resource Type definition for AWS::RTBFabric::LinkRoutingRule. A routing rule on a link within RTB Fabric that controls request routing based on conditions such as host headers, path matching, and query string parameters.

    Using getLinkRoutingRule

    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 getLinkRoutingRule(args: GetLinkRoutingRuleArgs, opts?: InvokeOptions): Promise<GetLinkRoutingRuleResult>
    function getLinkRoutingRuleOutput(args: GetLinkRoutingRuleOutputArgs, opts?: InvokeOptions): Output<GetLinkRoutingRuleResult>
    def get_link_routing_rule(arn: Optional[str] = None,
                              opts: Optional[InvokeOptions] = None) -> GetLinkRoutingRuleResult
    def get_link_routing_rule_output(arn: pulumi.Input[Optional[str]] = None,
                              opts: Optional[InvokeOptions] = None) -> Output[GetLinkRoutingRuleResult]
    func LookupLinkRoutingRule(ctx *Context, args *LookupLinkRoutingRuleArgs, opts ...InvokeOption) (*LookupLinkRoutingRuleResult, error)
    func LookupLinkRoutingRuleOutput(ctx *Context, args *LookupLinkRoutingRuleOutputArgs, opts ...InvokeOption) LookupLinkRoutingRuleResultOutput

    > Note: This function is named LookupLinkRoutingRule in the Go SDK.

    public static class GetLinkRoutingRule 
    {
        public static Task<GetLinkRoutingRuleResult> InvokeAsync(GetLinkRoutingRuleArgs args, InvokeOptions? opts = null)
        public static Output<GetLinkRoutingRuleResult> Invoke(GetLinkRoutingRuleInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetLinkRoutingRuleResult> getLinkRoutingRule(GetLinkRoutingRuleArgs args, InvokeOptions options)
    public static Output<GetLinkRoutingRuleResult> getLinkRoutingRule(GetLinkRoutingRuleArgs args, InvokeOptions options)
    
    fn::invoke:
      function: aws-native:rtbfabric:getLinkRoutingRule
      arguments:
        # arguments dictionary
    data "aws-native_rtbfabric_getlinkroutingrule" "name" {
        # arguments
    }

    The following arguments are supported:

    Arn string
    Arn string
    arn string
    arn String
    arn string
    arn str
    arn String

    getLinkRoutingRule Result

    The following output properties are available:

    Supporting Types

    LinkRoutingRuleQueryStringKeyValuePair

    Key string
    Query string key — RFC 3986 unreserved characters.
    Value string
    Query string value — RFC 3986 unreserved characters.
    Key string
    Query string key — RFC 3986 unreserved characters.
    Value string
    Query string value — RFC 3986 unreserved characters.
    key string
    Query string key — RFC 3986 unreserved characters.
    value string
    Query string value — RFC 3986 unreserved characters.
    key String
    Query string key — RFC 3986 unreserved characters.
    value String
    Query string value — RFC 3986 unreserved characters.
    key string
    Query string key — RFC 3986 unreserved characters.
    value string
    Query string value — RFC 3986 unreserved characters.
    key str
    Query string key — RFC 3986 unreserved characters.
    value str
    Query string value — RFC 3986 unreserved characters.
    key String
    Query string key — RFC 3986 unreserved characters.
    value String
    Query string value — RFC 3986 unreserved characters.

    LinkRoutingRuleRuleCondition

    HostHeader string
    Exact host match — RFC 3986 unreserved characters. Mutually exclusive with HostHeaderWildcard.
    HostHeaderWildcard string
    Wildcard host pattern (e.g., *.example.com) — RFC 3986 unreserved characters plus *. Mutually exclusive with HostHeader.
    PathExact string
    Exact path match — must start with /. Mutually exclusive with PathPrefix.
    PathPrefix string
    Path prefix matching — strict starts-with, must start with /. Mutually exclusive with PathExact.
    QueryStringEquals Pulumi.AwsNative.RtbFabric.Inputs.LinkRoutingRuleQueryStringKeyValuePair
    Query string key=value pair match (single pair).
    QueryStringExists string
    Query string key presence check (any value accepted).
    HostHeader string
    Exact host match — RFC 3986 unreserved characters. Mutually exclusive with HostHeaderWildcard.
    HostHeaderWildcard string
    Wildcard host pattern (e.g., *.example.com) — RFC 3986 unreserved characters plus *. Mutually exclusive with HostHeader.
    PathExact string
    Exact path match — must start with /. Mutually exclusive with PathPrefix.
    PathPrefix string
    Path prefix matching — strict starts-with, must start with /. Mutually exclusive with PathExact.
    QueryStringEquals LinkRoutingRuleQueryStringKeyValuePair
    Query string key=value pair match (single pair).
    QueryStringExists string
    Query string key presence check (any value accepted).
    host_header string
    Exact host match — RFC 3986 unreserved characters. Mutually exclusive with HostHeaderWildcard.
    host_header_wildcard string
    Wildcard host pattern (e.g., *.example.com) — RFC 3986 unreserved characters plus *. Mutually exclusive with HostHeader.
    path_exact string
    Exact path match — must start with /. Mutually exclusive with PathPrefix.
    path_prefix string
    Path prefix matching — strict starts-with, must start with /. Mutually exclusive with PathExact.
    query_string_equals object
    Query string key=value pair match (single pair).
    query_string_exists string
    Query string key presence check (any value accepted).
    hostHeader String
    Exact host match — RFC 3986 unreserved characters. Mutually exclusive with HostHeaderWildcard.
    hostHeaderWildcard String
    Wildcard host pattern (e.g., *.example.com) — RFC 3986 unreserved characters plus *. Mutually exclusive with HostHeader.
    pathExact String
    Exact path match — must start with /. Mutually exclusive with PathPrefix.
    pathPrefix String
    Path prefix matching — strict starts-with, must start with /. Mutually exclusive with PathExact.
    queryStringEquals LinkRoutingRuleQueryStringKeyValuePair
    Query string key=value pair match (single pair).
    queryStringExists String
    Query string key presence check (any value accepted).
    hostHeader string
    Exact host match — RFC 3986 unreserved characters. Mutually exclusive with HostHeaderWildcard.
    hostHeaderWildcard string
    Wildcard host pattern (e.g., *.example.com) — RFC 3986 unreserved characters plus *. Mutually exclusive with HostHeader.
    pathExact string
    Exact path match — must start with /. Mutually exclusive with PathPrefix.
    pathPrefix string
    Path prefix matching — strict starts-with, must start with /. Mutually exclusive with PathExact.
    queryStringEquals LinkRoutingRuleQueryStringKeyValuePair
    Query string key=value pair match (single pair).
    queryStringExists string
    Query string key presence check (any value accepted).
    host_header str
    Exact host match — RFC 3986 unreserved characters. Mutually exclusive with HostHeaderWildcard.
    host_header_wildcard str
    Wildcard host pattern (e.g., *.example.com) — RFC 3986 unreserved characters plus *. Mutually exclusive with HostHeader.
    path_exact str
    Exact path match — must start with /. Mutually exclusive with PathPrefix.
    path_prefix str
    Path prefix matching — strict starts-with, must start with /. Mutually exclusive with PathExact.
    query_string_equals LinkRoutingRuleQueryStringKeyValuePair
    Query string key=value pair match (single pair).
    query_string_exists str
    Query string key presence check (any value accepted).
    hostHeader String
    Exact host match — RFC 3986 unreserved characters. Mutually exclusive with HostHeaderWildcard.
    hostHeaderWildcard String
    Wildcard host pattern (e.g., *.example.com) — RFC 3986 unreserved characters plus *. Mutually exclusive with HostHeader.
    pathExact String
    Exact path match — must start with /. Mutually exclusive with PathPrefix.
    pathPrefix String
    Path prefix matching — strict starts-with, must start with /. Mutually exclusive with PathExact.
    queryStringEquals Property Map
    Query string key=value pair match (single pair).
    queryStringExists String
    Query string key presence check (any value accepted).

    LinkRoutingRuleRuleStatus

    Tag

    Key string
    The key name of the tag
    Value string
    The value of the tag
    Key string
    The key name of the tag
    Value string
    The value of the tag
    key string
    The key name of the tag
    value string
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag
    key string
    The key name of the tag
    value string
    The value of the tag
    key str
    The key name of the tag
    value str
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag

    Package Details

    Repository
    AWS Native pulumi/pulumi-aws-native
    License
    Apache-2.0
    aws-native logo

    We recommend new projects start with resources from the AWS provider.

    Viewing docs for AWS Cloud Control v1.69.0
    published on Monday, Jun 15, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial