interface HiddenCaseRuleProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.Cases.Mixins.CfnCaseRulePropsMixin.HiddenCaseRuleProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awscases/mixins#CfnCaseRulePropsMixin_HiddenCaseRuleProperty |
Java | software.amazon.awscdk.mixins.preview.services.cases.mixins.CfnCaseRulePropsMixin.HiddenCaseRuleProperty |
Python | aws_cdk.mixins_preview.aws_cases.mixins.CfnCaseRulePropsMixin.HiddenCaseRuleProperty |
TypeScript | @aws-cdk/mixins-preview » aws_cases » mixins » CfnCaseRulePropsMixin » 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 { mixins as cases_mixins } from '@aws-cdk/mixins-preview/aws-cases';
declare const emptyValue: any;
const hiddenCaseRuleProperty: cases_mixins.CfnCaseRulePropsMixin.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)[]
(optional)
A list of conditions that determine field visibility.
defaultValue?
Type:
boolean | IResolvable
(optional)
Whether the field is hidden when no conditions match.

.NET
Go
Java
Python
TypeScript