HiddenCaseRuleProperty Struct
A rule that controls field visibility based on conditions.
Fields can be shown or hidden dynamically based on values in other fields.
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 hiddenCaseRuleProperty: cases.CfnCaseRule.HiddenCaseRuleProperty = {
conditions: [{
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,
},
}],
defaultValue: false,
};
Properties
conditionsIResolvable | IResolvable | CfnCaseRule.BooleanConditionProperty[]conditionstyping.Union[IResolvable, typing.List[typing.Union[IResolvable, BooleanConditionProperty]]]conditionsIResolvableConditionsIResolvableConditionsinterface{}required#A list of conditions that determine field visibility.
defaultValueboolean | IResolvabledefault_valuetyping.Union[bool, IResolvable]defaultValueBooleanDefaultValueboolDefaultValueinterface{}required#Whether the field is hidden when no conditions match.