Skip to content
v2.274.0

QueryStringCondition Struct ​

Properties for the key/value pair of the query string.

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 queryStringCondition: elbv2.QueryStringCondition = {
  value: 'value',

  // the properties below are optional
  key: 'key',
};

Properties ​

keyoptionalstringkeyoptionalstrkeyoptionalStringKeyoptionalstringKeyoptional*string#
The query string key for the condition.

Default: Any key can be matched.

valuestringvaluestrvalueStringValuestringValue*stringrequired#
The query string value for the condition.