AWS Fundamentals Logo
AWS Fundamentals
L1 ConstructAWS::Cases::CaseRule

CfnCaseRule

Creates a new case rule. 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](https://docs.aws.amazon.com/connect/latest/adminguide/case-field-conditions.html) .

Import

import { CfnCaseRule } from 'aws-cdk-lib/aws-cases';

Or use the module namespace:

import * as cases from 'aws-cdk-lib/aws-cases';
// cases.CfnCaseRule

Properties

Configuration passed to the constructor as CfnCaseRuleProps.

nameRequired
string

Name of the case rule.

ruleRequired
IResolvable | CaseRuleDetailsProperty

Represents what rule type should take place, under what conditions.

descriptionOptional
string

Description of a case rule.

domainIdOptional
string

Unique identifier of a Cases domain.

tagsOptional
CfnTag[]

An array of key-value pairs to apply to this resource.

CloudFormation Resource

This L1 construct maps directly to the following CloudFormation resource type.

Learn AWS the Practical Way

Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.

Subscribe to Newsletter

Quick Facts

LevelL1 (CloudFormation)
Moduleaws-cases
CFN TypeAWS::Cases::CaseRule
Properties5

Related Constructs

External Links