# BooleanOperandsProperty

Boolean operands for a condition.

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 at build time
- Type last changed: v2.234.0 · 8 Jan 2026

## Example

TypeScript:

```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 booleanOperandsProperty: cases.CfnCaseRule.BooleanOperandsProperty = {
  operandOne: {
    fieldId: 'fieldId',
  },
  operandTwo: {
    booleanValue: false,
    doubleValue: 123,
    emptyValue: emptyValue,
    stringValue: 'stringValue',
  },
  result: false,
};
```

Python:

```python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_cases as cases

# empty_value: Any

boolean_operands_property = cases.CfnCaseRule.BooleanOperandsProperty(
    operand_one=cases.CfnCaseRule.OperandOneProperty(
        field_id="fieldId"
    ),
    operand_two=cases.CfnCaseRule.OperandTwoProperty(
        boolean_value=False,
        double_value=123,
        empty_value=empty_value,
        string_value="stringValue"
    ),
    result=False
)
```

Java:

```java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.cases.*;

Object emptyValue;

BooleanOperandsProperty booleanOperandsProperty = BooleanOperandsProperty.builder()
        .operandOne(OperandOneProperty.builder()
                .fieldId("fieldId")
                .build())
        .operandTwo(OperandTwoProperty.builder()
                .booleanValue(false)
                .doubleValue(123)
                .emptyValue(emptyValue)
                .stringValue("stringValue")
                .build())
        .result(false)
        .build();
```

C# / .NET:

```csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Cases;

var emptyValue;

var booleanOperandsProperty = new BooleanOperandsProperty {
    OperandOne = new OperandOneProperty {
        FieldId = "fieldId"
    },
    OperandTwo = new OperandTwoProperty {
        BooleanValue = false,
        DoubleValue = 123,
        EmptyValue = emptyValue,
        StringValue = "stringValue"
    },
    Result = false
};
```

Golang:

```go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

var emptyValue interface{}

booleanOperandsProperty := &BooleanOperandsProperty{
	OperandOne: &OperandOneProperty{
		FieldId: jsii.String("fieldId"),
	},
	OperandTwo: &OperandTwoProperty{
		BooleanValue: jsii.Boolean(false),
		DoubleValue: jsii.Number(123),
		EmptyValue: emptyValue,
		StringValue: jsii.String("stringValue"),
	},
	Result: jsii.Boolean(false),
}
```

## Properties

- `operandOne`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnCaseRule.OperandOneProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_cases.CfnCaseRule.OperandOneProperty.html) (required) — Represents the left hand operand in the condition.

- `operandTwo`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnCaseRule.OperandTwoProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_cases.CfnCaseRule.OperandTwoProperty.html) (required) — Represents the right hand operand in the condition.

- `result`: boolean | [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) (required) — The value of the outer rule if the condition evaluates to true.
