# QueryStringCondition

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

- Source: [`aws-elasticloadbalancingv2/lib/alb/conditions.ts`](https://github.com/aws/aws-cdk/blob/v2.274.0/packages/aws-cdk-lib/aws-elasticloadbalancingv2/lib/alb/conditions.ts#L72)

## 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

- `key`: string — The query string key for the condition.

  **Default:** Any key can be matched.

- `value`: string (required) — The query string value for the condition.
