We recommend new projects start with resources from the AWS provider.
published on Wednesday, Nov 18, 2026 by Pulumi
We recommend new projects start with resources from the AWS provider.
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:
- Conditions
Link
Routing Rule Rule Condition Args - Gateway
Id string - Link
Id string - Priority int
-
Tag
Args
- conditions object
- gateway_
id string - link_
id string - priority number
- list(object)
- conditions
Link
Routing Rule Rule Condition - gateway
Id String - link
Id String - priority Integer
- List<Tag>
- conditions
Link
Routing Rule Rule Condition - gateway
Id string - link
Id string - priority number
- Tag[]
- conditions Property Map
- gateway
Id String - link
Id String - priority Number
- List<Property Map>
Outputs
All input properties are implicitly available as output properties. Additionally, the LinkRoutingRule resource produces the following output properties:
- Arn string
- Created
Timestamp string - Id string
- The provider-assigned unique ID for this managed resource.
- Rule
Id string - Status
Pulumi.
Aws Native. Rtb Fabric. Link Routing Rule Rule Status - Updated
Timestamp string
- Arn string
- Created
Timestamp string - Id string
- The provider-assigned unique ID for this managed resource.
- Rule
Id string - Status
Link
Routing Rule Rule Status - Updated
Timestamp string
- arn string
- created_
timestamp string - id string
- The provider-assigned unique ID for this managed resource.
- rule_
id string - status "CREATION_IN_PROGRESS" | "ACTIVE" | "UPDATE_IN_PROGRESS" | "DELETION_IN_PROGRESS" | "DELETED" | "FAILED"
- updated_
timestamp string
- arn String
- created
Timestamp String - id String
- The provider-assigned unique ID for this managed resource.
- rule
Id String - status
Link
Routing Rule Rule Status - updated
Timestamp String
- arn string
- created
Timestamp string - id string
- The provider-assigned unique ID for this managed resource.
- rule
Id string - status
Link
Routing Rule Rule Status - updated
Timestamp string
- arn str
- created_
timestamp str - id str
- The provider-assigned unique ID for this managed resource.
- rule_
id str - status
Link
Routing Rule Rule Status - updated_
timestamp str
- arn String
- created
Timestamp String - id String
- The provider-assigned unique ID for this managed resource.
- rule
Id String - status "CREATION_IN_PROGRESS" | "ACTIVE" | "UPDATE_IN_PROGRESS" | "DELETION_IN_PROGRESS" | "DELETED" | "FAILED"
- updated
Timestamp String
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) -> LinkRoutingRulefunc 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
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.
- Host
Header string - Exact host match — RFC 3986 unreserved characters. Mutually exclusive with HostHeaderWildcard.
- Host
Header stringWildcard - 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 Pulumi.Equals Aws Native. Rtb Fabric. Inputs. Link Routing Rule Query String Key Value Pair - Query string key=value pair match (single pair).
- Query
String stringExists - Query string key presence check (any value accepted).
- Host
Header string - Exact host match — RFC 3986 unreserved characters. Mutually exclusive with HostHeaderWildcard.
- Host
Header stringWildcard - 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 LinkEquals Routing Rule Query String Key Value Pair - Query string key=value pair match (single pair).
- Query
String stringExists - Query string key presence check (any value accepted).
- host_
header string - Exact host match — RFC 3986 unreserved characters. Mutually exclusive with HostHeaderWildcard.
- host_
header_ stringwildcard - 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_ objectequals - Query string key=value pair match (single pair).
- query_
string_ stringexists - Query string key presence check (any value accepted).
- host
Header String - Exact host match — RFC 3986 unreserved characters. Mutually exclusive with HostHeaderWildcard.
- host
Header StringWildcard - 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 LinkEquals Routing Rule Query String Key Value Pair - Query string key=value pair match (single pair).
- query
String StringExists - Query string key presence check (any value accepted).
- host
Header string - Exact host match — RFC 3986 unreserved characters. Mutually exclusive with HostHeaderWildcard.
- host
Header stringWildcard - 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 LinkEquals Routing Rule Query String Key Value Pair - Query string key=value pair match (single pair).
- query
String stringExists - Query string key presence check (any value accepted).
- host_
header str - Exact host match — RFC 3986 unreserved characters. Mutually exclusive with HostHeaderWildcard.
- host_
header_ strwildcard - 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_ Linkequals Routing Rule Query String Key Value Pair - Query string key=value pair match (single pair).
- query_
string_ strexists - Query string key presence check (any value accepted).
- host
Header String - Exact host match — RFC 3986 unreserved characters. Mutually exclusive with HostHeaderWildcard.
- host
Header StringWildcard - 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 Property MapEquals - Query string key=value pair match (single pair).
- query
String StringExists - Query string key presence check (any value accepted).
LinkRoutingRuleRuleStatus
| Name | Value |
|---|---|
| Creation | CREATION_IN_PROGRESS |
| Active | ACTIVE |
| Update | UPDATE_IN_PROGRESS |
| Deletion | DELETION_IN_PROGRESS |
| Deleted | DELETED |
| Failed | FAILED |
| Name | Value |
|---|---|
| Link | CREATION_IN_PROGRESS |
| Link | ACTIVE |
| Link | UPDATE_IN_PROGRESS |
| Link | DELETION_IN_PROGRESS |
| Link | DELETED |
| Link | FAILED |
| Value |
|---|
CREATION_IN_PROGRESS |
ACTIVE |
UPDATE_IN_PROGRESS |
DELETION_IN_PROGRESS |
DELETED |
FAILED |
| Name | Value |
|---|---|
| Creation | CREATION_IN_PROGRESS |
| Active | ACTIVE |
| Update | UPDATE_IN_PROGRESS |
| Deletion | DELETION_IN_PROGRESS |
| Deleted | DELETED |
| Failed | FAILED |
| Name | Value |
|---|---|
| Creation | CREATION_IN_PROGRESS |
| Active | ACTIVE |
| Update | UPDATE_IN_PROGRESS |
| Deletion | DELETION_IN_PROGRESS |
| Deleted | DELETED |
| Failed | FAILED |
| Name | Value |
|---|---|
| CREATION_IN_PROGRESS | CREATION_IN_PROGRESS |
| ACTIVE | ACTIVE |
| UPDATE_IN_PROGRESS | UPDATE_IN_PROGRESS |
| DELETION_IN_PROGRESS | DELETION_IN_PROGRESS |
| DELETED | DELETED |
| FAILED | FAILED |
| Value |
|---|
CREATION_IN_PROGRESS |
ACTIVE |
UPDATE_IN_PROGRESS |
DELETION_IN_PROGRESS |
DELETED |
FAILED |
Tag, TagArgs
A set of tags to apply to the resource.
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.
published on Wednesday, Nov 18, 2026 by Pulumi