interface BooleanConditionProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.Cases.Mixins.CfnCaseRulePropsMixin.BooleanConditionProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awscases/mixins#CfnCaseRulePropsMixin_BooleanConditionProperty |
Java | software.amazon.awscdk.mixins.preview.services.cases.mixins.CfnCaseRulePropsMixin.BooleanConditionProperty |
Python | aws_cdk.mixins_preview.aws_cases.mixins.CfnCaseRulePropsMixin.BooleanConditionProperty |
TypeScript | @aws-cdk/mixins-preview » aws_cases » mixins » CfnCaseRulePropsMixin » 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 .
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins as cases_mixins } from '@aws-cdk/mixins-preview/aws-cases';
declare const emptyValue: any;
const booleanConditionProperty: cases_mixins.CfnCaseRulePropsMixin.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
| Name | Type | Description |
|---|---|---|
| equal | IResolvable | Boolean | Tests that operandOne is equal to operandTwo. |
| not | IResolvable | Boolean | Tests that operandOne is not equal to operandTwo. |
equalTo?
Type:
IResolvable | Boolean
(optional)
Tests that operandOne is equal to operandTwo.
notEqualTo?
Type:
IResolvable | Boolean
(optional)
Tests that operandOne is not equal to operandTwo.

.NET
Go
Java
Python
TypeScript