interface CfnLinkRoutingRuleProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.RTBFabric.CfnLinkRoutingRuleProps |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsrtbfabric#CfnLinkRoutingRuleProps |
Java | software.amazon.awscdk.services.rtbfabric.CfnLinkRoutingRuleProps |
Python | aws_cdk.aws_rtbfabric.CfnLinkRoutingRuleProps |
TypeScript | aws-cdk-lib » aws_rtbfabric » CfnLinkRoutingRuleProps |
Properties for defining a CfnLinkRoutingRule.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_rtbfabric as rtbfabric } from 'aws-cdk-lib';
const cfnLinkRoutingRuleProps: rtbfabric.CfnLinkRoutingRuleProps = {
conditions: {
hostHeader: 'hostHeader',
hostHeaderWildcard: 'hostHeaderWildcard',
pathExact: 'pathExact',
pathPrefix: 'pathPrefix',
queryStringEquals: {
key: 'key',
value: 'value',
},
queryStringExists: 'queryStringExists',
},
gatewayId: 'gatewayId',
linkId: 'linkId',
priority: 123,
// the properties below are optional
tags: [{
key: 'key',
value: 'value',
}],
};
Properties
| Name | Type | Description |
|---|---|---|
| conditions | IResolvable | Rule | Conditions for a routing rule. |
| gateway | string | |
| link | string | |
| priority | number | |
| tags? | Cfn[] | Tags to assign to the LinkRoutingRule. |
conditions
Type:
IResolvable | Rule
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.
gatewayId
Type:
string
linkId
Type:
string
priority
Type:
number
tags?
Type:
Cfn[]
(optional)
Tags to assign to the LinkRoutingRule.

.NET
Go
Java
Python
TypeScript