Skip to content
v2.275.0

TemplateRuleProperty Struct ​

An association representing a case rule acting upon a field.

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 .

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';
const templateRuleProperty: cases.CfnTemplate.TemplateRuleProperty = {
  caseRuleId: 'caseRuleId',

  // the properties below are optional
  fieldId: 'fieldId',
};

Properties ​

caseRuleIdstringcase_rule_idstrcaseRuleIdStringCaseRuleIdstringCaseRuleId*stringrequired#
Unique identifier of a case rule.
fieldIdoptionalstringfield_idoptionalstrfieldIdoptionalStringFieldIdoptionalstringFieldIdoptional*string#
Unique identifier of a field.