Class CfnCaseRule.CaseRuleDetailsProperty
Represents what rule type should take place, under what conditions.
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.Cases
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnCaseRule.CaseRuleDetailsProperty : CfnCaseRule.ICaseRuleDetailsProperty
Syntax (vb)
Public Class CfnCaseRule.CaseRuleDetailsProperty Implements CfnCaseRule.ICaseRuleDetailsProperty
Remarks
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 .
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Cases;
var emptyValue;
var caseRuleDetailsProperty = new CaseRuleDetailsProperty {
Hidden = new HiddenCaseRuleProperty {
Conditions = new [] { new BooleanConditionProperty {
EqualTo = new BooleanOperandsProperty {
OperandOne = new OperandOneProperty {
FieldId = "fieldId"
},
OperandTwo = new OperandTwoProperty {
BooleanValue = false,
DoubleValue = 123,
EmptyValue = emptyValue,
StringValue = "stringValue"
},
Result = false
},
NotEqualTo = new BooleanOperandsProperty {
OperandOne = new OperandOneProperty {
FieldId = "fieldId"
},
OperandTwo = new OperandTwoProperty {
BooleanValue = false,
DoubleValue = 123,
EmptyValue = emptyValue,
StringValue = "stringValue"
},
Result = false
}
} },
DefaultValue = false
},
Required = new RequiredCaseRuleProperty {
Conditions = new [] { new BooleanConditionProperty {
EqualTo = new BooleanOperandsProperty {
OperandOne = new OperandOneProperty {
FieldId = "fieldId"
},
OperandTwo = new OperandTwoProperty {
BooleanValue = false,
DoubleValue = 123,
EmptyValue = emptyValue,
StringValue = "stringValue"
},
Result = false
},
NotEqualTo = new BooleanOperandsProperty {
OperandOne = new OperandOneProperty {
FieldId = "fieldId"
},
OperandTwo = new OperandTwoProperty {
BooleanValue = false,
DoubleValue = 123,
EmptyValue = emptyValue,
StringValue = "stringValue"
},
Result = false
}
} },
DefaultValue = false
}
};
Synopsis
Constructors
| CaseRuleDetailsProperty() | Represents what rule type should take place, under what conditions. |
Properties
| Hidden | Whether a field is visible, based on values in other fields. |
| Required | Required rule type, used to indicate whether a field is required. |
Constructors
CaseRuleDetailsProperty()
Represents what rule type should take place, under what conditions.
public CaseRuleDetailsProperty()
Remarks
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 .
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Cases;
var emptyValue;
var caseRuleDetailsProperty = new CaseRuleDetailsProperty {
Hidden = new HiddenCaseRuleProperty {
Conditions = new [] { new BooleanConditionProperty {
EqualTo = new BooleanOperandsProperty {
OperandOne = new OperandOneProperty {
FieldId = "fieldId"
},
OperandTwo = new OperandTwoProperty {
BooleanValue = false,
DoubleValue = 123,
EmptyValue = emptyValue,
StringValue = "stringValue"
},
Result = false
},
NotEqualTo = new BooleanOperandsProperty {
OperandOne = new OperandOneProperty {
FieldId = "fieldId"
},
OperandTwo = new OperandTwoProperty {
BooleanValue = false,
DoubleValue = 123,
EmptyValue = emptyValue,
StringValue = "stringValue"
},
Result = false
}
} },
DefaultValue = false
},
Required = new RequiredCaseRuleProperty {
Conditions = new [] { new BooleanConditionProperty {
EqualTo = new BooleanOperandsProperty {
OperandOne = new OperandOneProperty {
FieldId = "fieldId"
},
OperandTwo = new OperandTwoProperty {
BooleanValue = false,
DoubleValue = 123,
EmptyValue = emptyValue,
StringValue = "stringValue"
},
Result = false
},
NotEqualTo = new BooleanOperandsProperty {
OperandOne = new OperandOneProperty {
FieldId = "fieldId"
},
OperandTwo = new OperandTwoProperty {
BooleanValue = false,
DoubleValue = 123,
EmptyValue = emptyValue,
StringValue = "stringValue"
},
Result = false
}
} },
DefaultValue = false
}
};
Properties
Hidden
Whether a field is visible, based on values in other fields.
public object? Hidden { get; set; }
Property Value
Remarks
Required
Required rule type, used to indicate whether a field is required.
public object? Required { get; set; }