# BooleanConditionProperty

Boolean condition for a rule.

In the Amazon Connect admin website, case rules are known as *case field conditions* . For more information about case field conditions, see [Add case field conditions to a case template](https://docs.aws.amazon.com/connect/latest/adminguide/case-field-conditions.html) .

- Source: Generated code
- Type last changed: v2.234.0 · 8 Jan 2026

## Example

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_cases as cases } from 'aws-cdk-lib';

declare const emptyValue: any;
const booleanConditionProperty: cases.CfnCaseRule.BooleanConditionProperty = {
  equalTo: {
    operandOne: {
      fieldId: 'fieldId',
    },
    operandTwo: {
      booleanValue: false,
      doubleValue: 123,
      emptyValue: emptyValue,
      stringValue: 'stringValue',
    },
    result: false,
  },
  notEqualTo: {
    operandOne: {
      fieldId: 'fieldId',
    },
    operandTwo: {
      booleanValue: false,
      doubleValue: 123,
      emptyValue: emptyValue,
      stringValue: 'stringValue',
    },
    result: false,
  },
};
```

## Properties

- `equalTo`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnCaseRule.BooleanOperandsProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_cases.CfnCaseRule.BooleanOperandsProperty.html) — Tests that operandOne is equal to operandTwo.

- `notEqualTo`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnCaseRule.BooleanOperandsProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_cases.CfnCaseRule.BooleanOperandsProperty.html) — Tests that operandOne is not equal to operandTwo.
