View a markdown version of this page

RuleCondition - AWS RTB Fabric

RuleCondition

The conditions for a routing rule. All specified fields must match for the rule to apply (AND logic). At least one condition field must be set.

Contents

hostHeader

The exact host header value to match.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 255.

Pattern: [A-Za-z0-9._~-]+

Required: No

hostHeaderWildcard

A wildcard pattern for host header matching (for example, *.example.com).

Type: String

Length Constraints: Minimum length of 3. Maximum length of 255.

Pattern: [A-Za-z0-9._~*-]+

Required: No

pathExact

The exact path to match. Must start with /.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 128.

Pattern: /[A-Za-z0-9._~/-]*

Required: No

pathPrefix

The path prefix to match. The request path must start with this value. Must start with /.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 128.

Pattern: /[A-Za-z0-9._~/-]*

Required: No

queryStringEquals

A query string key-value pair that must be present and match exactly.

Type: QueryStringKeyValuePair object

Required: No

queryStringExists

A query string key that must be present in the request (any value is accepted).

Type: String

Length Constraints: Minimum length of 1. Maximum length of 128.

Pattern: [A-Za-z0-9._~-]+

Required: No

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: