Skip to content
v2.274.0

QueryStringConfigProperty Struct ​

Information about a query string condition.

The query string component of a URI starts after the first '?' character and is terminated by either a '#' character or the end of the URI. A typical query string contains key/value pairs separated by '&' characters. The allowed characters are specified by RFC 3986. Any character can be percentage encoded.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_elasticloadbalancingv2 as elbv2 } from 'aws-cdk-lib';
const queryStringConfigProperty: elbv2.CfnListenerRule.QueryStringConfigProperty = {
  values: [{
    key: 'key',
    value: 'value',
  }],
};

Properties ​

valuesoptionalIResolvable | IResolvable | CfnListenerRule.QueryStringKeyValueProperty[]valuesoptionaltyping.Union[IResolvable, typing.List[typing.Union[IResolvable, QueryStringKeyValueProperty]]]valuesoptionalIResolvableValuesoptionalIResolvableValuesoptionalinterface{}#
The key/value pairs or values to find in the query string.
notes

The maximum length of each string is 128 characters. The comparison is case insensitive. The following wildcard characters are supported: * (matches 0 or more characters) and ? (matches exactly 1 character). To search for a literal '*' or '?' character in a query string, you must escape these characters in Values using a '' character.

If you specify multiple key/value pairs or values, the condition is satisfied if one of them is found in the query string.