Interface CfnLinkRoutingRule.RuleConditionProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnLinkRoutingRule.RuleConditionProperty.Jsii$Proxy
- Enclosing class:
CfnLinkRoutingRule
@Stability(Stable)
public static interface CfnLinkRoutingRule.RuleConditionProperty
extends software.amazon.jsii.JsiiSerializable
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.
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.*;
RuleConditionProperty ruleConditionProperty = RuleConditionProperty.builder()
.hostHeader("hostHeader")
.hostHeaderWildcard("hostHeaderWildcard")
.pathExact("pathExact")
.pathPrefix("pathPrefix")
.queryStringEquals(QueryStringKeyValuePairProperty.builder()
.key("key")
.value("value")
.build())
.queryStringExists("queryStringExists")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnLinkRoutingRule.RuleConditionPropertystatic final classAn implementation forCfnLinkRoutingRule.RuleConditionProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default StringExact host match — RFC 3986 unreserved characters.default StringWildcard host pattern (e.g., *.example.com) — RFC 3986 unreserved characters plus *.default StringExact path match — must start with /.default StringPath prefix matching — strict starts-with, must start with /.default ObjectReturns union: eitherIResolvableorCfnLinkRoutingRule.QueryStringKeyValuePairPropertydefault StringQuery string key presence check (any value accepted).Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getHostHeader
Exact host match — RFC 3986 unreserved characters.Mutually exclusive with HostHeaderWildcard.
- See Also:
-
getHostHeaderWildcard
Wildcard host pattern (e.g., *.example.com) — RFC 3986 unreserved characters plus *. Mutually exclusive with HostHeader.- See Also:
-
getPathExact
Exact path match — must start with /.Mutually exclusive with PathPrefix.
- See Also:
-
getPathPrefix
Path prefix matching — strict starts-with, must start with /.Mutually exclusive with PathExact.
- See Also:
-
getQueryStringEquals
Returns union: eitherIResolvableorCfnLinkRoutingRule.QueryStringKeyValuePairProperty- See Also:
-
getQueryStringExists
Query string key presence check (any value accepted).- See Also:
-
builder
-