Interface CfnLinkRoutingRuleProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnLinkRoutingRuleProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.133.0 (build 0f43e37)",
date="2026-06-16T16:14:32.269Z")
@Stability(Stable)
public interface CfnLinkRoutingRuleProps
extends software.amazon.jsii.JsiiSerializable
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 software.amazon.awscdk.services.rtbfabric.*;
CfnLinkRoutingRuleProps cfnLinkRoutingRuleProps = CfnLinkRoutingRuleProps.builder()
.conditions(RuleConditionProperty.builder()
.hostHeader("hostHeader")
.hostHeaderWildcard("hostHeaderWildcard")
.pathExact("pathExact")
.pathPrefix("pathPrefix")
.queryStringEquals(QueryStringKeyValuePairProperty.builder()
.key("key")
.value("value")
.build())
.queryStringExists("queryStringExists")
.build())
.gatewayId("gatewayId")
.linkId("linkId")
.priority(123)
// the properties below are optional
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnLinkRoutingRulePropsstatic final classAn implementation forCfnLinkRoutingRuleProps -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getConditions
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.
Returns union: either
IResolvableorCfnLinkRoutingRule.RuleConditionProperty- See Also:
-
getGatewayId
- See Also:
-
getLinkId
- See Also:
-
getPriority
- See Also:
-
getTags
Tags to assign to the LinkRoutingRule.- See Also:
-
builder
- Returns:
- a
CfnLinkRoutingRuleProps.BuilderofCfnLinkRoutingRuleProps
-