CfnCaseRuleProps Struct
Properties for defining a CfnCaseRule.
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 cfnCaseRuleProps: cases.CfnCaseRuleProps = {
name: 'name',
rule: {
hidden: {
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,
},
required: {
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,
},
},
// the properties below are optional
description: 'description',
domainId: 'domainId',
tags: [{
key: 'key',
value: 'value',
}],
};
Properties
descriptionoptionalstringdescriptionoptionalstrdescriptionoptionalStringDescriptionoptionalstringDescriptionoptional*string#Description of a case rule.
domainIdoptionalstringdomain_idoptionalstrdomainIdoptionalStringDomainIdoptionalstringDomainIdoptional*string#Unique identifier of a Cases domain.
Name of the case rule.
ruleIResolvable | CfnCaseRule.CaseRuleDetailsPropertyruletyping.Union[IResolvable, CaseRuleDetailsProperty]ruleIResolvableRuleIResolvableRuleinterface{}required#Represents what rule type should take place, under what conditions.