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

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

Viewing docs for AWS Cloud Control v1.86.0
published on Wednesday, Nov 18, 2026 by Pulumi
aws-native logo aws-native logo AWS Cloud Control

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

Viewing docs for AWS Cloud Control v1.86.0
published on Wednesday, Nov 18, 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.

    Create LinkRoutingRule Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new LinkRoutingRule(name: string, args: LinkRoutingRuleArgs, opts?: CustomResourceOptions);
    @overload
    def LinkRoutingRule(resource_name: str,
                        args: LinkRoutingRuleArgs,
                        opts: Optional[ResourceOptions] = None)
    
    @overload
    def LinkRoutingRule(resource_name: str,
                        opts: Optional[ResourceOptions] = None,
                        conditions: Optional[LinkRoutingRuleRuleConditionArgs] = None,
                        gateway_id: Optional[str] = None,
                        link_id: Optional[str] = None,
                        priority: Optional[int] = None,
                        tags: Optional[Sequence[_root_inputs.TagArgs]] = None)
    func NewLinkRoutingRule(ctx *Context, name string, args LinkRoutingRuleArgs, opts ...ResourceOption) (*LinkRoutingRule, error)
    public LinkRoutingRule(string name, LinkRoutingRuleArgs args, CustomResourceOptions? opts = null)
    public LinkRoutingRule(String name, LinkRoutingRuleArgs args)
    public LinkRoutingRule(String name, LinkRoutingRuleArgs args, CustomResourceOptions options)
    
    type: aws-native:rtbfabric:LinkRoutingRule
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "aws-native_rtbfabric_link_routing_rule" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args LinkRoutingRuleArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args LinkRoutingRuleArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args LinkRoutingRuleArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args LinkRoutingRuleArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args LinkRoutingRuleArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    LinkRoutingRule Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The LinkRoutingRule resource accepts the following input properties:

    Outputs

    All input properties are implicitly available as output properties. Additionally, the LinkRoutingRule resource produces the following output properties:

    Arn string
    CreatedTimestamp string
    Id string
    The provider-assigned unique ID for this managed resource.
    RuleId string
    Status Pulumi.AwsNative.RtbFabric.LinkRoutingRuleRuleStatus
    UpdatedTimestamp string
    Arn string
    CreatedTimestamp string
    Id string
    The provider-assigned unique ID for this managed resource.
    RuleId string
    Status LinkRoutingRuleRuleStatus
    UpdatedTimestamp string
    arn String
    createdTimestamp String
    id String
    The provider-assigned unique ID for this managed resource.
    ruleId String
    status LinkRoutingRuleRuleStatus
    updatedTimestamp String
    arn string
    createdTimestamp string
    id string
    The provider-assigned unique ID for this managed resource.
    ruleId string
    status LinkRoutingRuleRuleStatus
    updatedTimestamp string
    arn str
    created_timestamp str
    id str
    The provider-assigned unique ID for this managed resource.
    rule_id str
    status LinkRoutingRuleRuleStatus
    updated_timestamp str

    Look up Existing LinkRoutingRule Resource

    Get an existing LinkRoutingRule resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, opts?: CustomResourceOptions): LinkRoutingRule
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None) -> LinkRoutingRule
    func GetLinkRoutingRule(ctx *Context, name string, id IDInput, state *LinkRoutingRuleState, opts ...ResourceOption) (*LinkRoutingRule, error)
    public static LinkRoutingRule Get(string name, Input<string> id, CustomResourceOptions? opts = null)
    public static LinkRoutingRule get(String name, Output<String> id, CustomResourceOptions options)
    resources:  existingLinkRoutingRule:    type: aws-native:rtbfabric:LinkRoutingRule    get:      id: ${id}
    import {
      to = aws-native_rtbfabric_link_routing_rule.example
      id = "${id}"
    }
    
    name string
    The unique name of the resulting resource.
    id Input<ID>
    The unique provider ID of the resource to look up.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resulting resource.
    id str
    The unique provider ID of the resource to look up.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resulting resource.
    id IDInput
    The unique provider ID of the resource to look up.
    state LinkRoutingRuleState
    Pass nil. This resource has no state arguments.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resulting resource.
    id Input<string>
    The unique provider ID of the resource to look up.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resulting resource.
    id Output<String>
    The unique provider ID of the resource to look up.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Supporting Types

    LinkRoutingRuleQueryStringKeyValuePair, LinkRoutingRuleQueryStringKeyValuePairArgs

    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, LinkRoutingRuleRuleConditionArgs

    Conditions for a routing rule. All non-null fields must match (AND logic). At least one field must be set. HostHeader and HostHeaderWildcard are mutually exclusive. PathPrefix and PathExact are mutually exclusive.

    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

    NameValue
    CreationInProgressCREATION_IN_PROGRESS
    ActiveACTIVE
    UpdateInProgressUPDATE_IN_PROGRESS
    DeletionInProgressDELETION_IN_PROGRESS
    DeletedDELETED
    FailedFAILED
    NameValue
    LinkRoutingRuleRuleStatusCreationInProgressCREATION_IN_PROGRESS
    LinkRoutingRuleRuleStatusActiveACTIVE
    LinkRoutingRuleRuleStatusUpdateInProgressUPDATE_IN_PROGRESS
    LinkRoutingRuleRuleStatusDeletionInProgressDELETION_IN_PROGRESS
    LinkRoutingRuleRuleStatusDeletedDELETED
    LinkRoutingRuleRuleStatusFailedFAILED
    Value
    CREATION_IN_PROGRESS
    ACTIVE
    UPDATE_IN_PROGRESS
    DELETION_IN_PROGRESS
    DELETED
    FAILED
    NameValue
    CreationInProgressCREATION_IN_PROGRESS
    ActiveACTIVE
    UpdateInProgressUPDATE_IN_PROGRESS
    DeletionInProgressDELETION_IN_PROGRESS
    DeletedDELETED
    FailedFAILED
    NameValue
    CreationInProgressCREATION_IN_PROGRESS
    ActiveACTIVE
    UpdateInProgressUPDATE_IN_PROGRESS
    DeletionInProgressDELETION_IN_PROGRESS
    DeletedDELETED
    FailedFAILED
    NameValue
    CREATION_IN_PROGRESSCREATION_IN_PROGRESS
    ACTIVEACTIVE
    UPDATE_IN_PROGRESSUPDATE_IN_PROGRESS
    DELETION_IN_PROGRESSDELETION_IN_PROGRESS
    DELETEDDELETED
    FAILEDFAILED
    Value
    CREATION_IN_PROGRESS
    ACTIVE
    UPDATE_IN_PROGRESS
    DELETION_IN_PROGRESS
    DELETED
    FAILED

    Tag, TagArgs

    A set of tags to apply to the resource.

    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 aws-native logo AWS Cloud Control

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

    Viewing docs for AWS Cloud Control v1.86.0
    published on Wednesday, Nov 18, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial