interface HiddenCaseRuleProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.Cases.CfnCaseRule.HiddenCaseRuleProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awscases#CfnCaseRule_HiddenCaseRuleProperty |
Java | software.amazon.awscdk.services.cases.CfnCaseRule.HiddenCaseRuleProperty |
Python | aws_cdk.aws_cases.CfnCaseRule.HiddenCaseRuleProperty |
TypeScript | aws-cdk-lib » aws_cases » CfnCaseRule » HiddenCaseRuleProperty |
A rule that controls field visibility based on conditions.
Fields can be shown or hidden dynamically based on values in other fields.
Example
// 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
| Name | Type | Description |
|---|---|---|
| conditions | IResolvable | (IResolvable | Boolean)[] | A list of conditions that determine field visibility. |
| default | boolean | IResolvable | Whether the field is hidden when no conditions match. |
conditions
Type:
IResolvable | (IResolvable | Boolean)[]
A list of conditions that determine field visibility.
defaultValue
Type:
boolean | IResolvable
Whether the field is hidden when no conditions match.

.NET
Go
Java
Python
TypeScript