This is the new Amazon CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the Amazon CloudFormation User Guide.
AWS::Cases::CaseRule
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.
Syntax
To declare this entity in your Amazon CloudFormation template, use the following syntax:
JSON
{ "Type" : "AWS::Cases::CaseRule", "Properties" : { "Description" :String, "DomainId" :String, "Name" :String, "Rule" :CaseRuleDetails, "Tags" :[ Tag, ... ]} }
YAML
Type: AWS::Cases::CaseRule Properties: Description:StringDomainId:StringName:StringRule:CaseRuleDetailsTags:- Tag
Properties
Description-
Description of a case rule.
Required: No
Type: String
Maximum:
255Update requires: No interruption
DomainId-
Unique identifier of a Cases domain.
Required: No
Type: String
Minimum:
1Maximum:
500Update requires: Updates are not supported.
Name-
Name of the case rule.
Required: Yes
Type: String
Pattern:
^.*[\S]$Minimum:
1Maximum:
100Update requires: No interruption
Rule-
Represents what rule type should take place, under what conditions.
Required: Yes
Type: CaseRuleDetails
Update requires: No interruption
-
An array of key-value pairs to apply to this resource.
Required: No
Type: Array of Tag
Update requires: No interruption
Return values
Ref
When you pass the logical ID of this resource to the intrinsic Ref function, Ref returns the ARN of the case rule. For example:
arn:aws:cases:us-west-2:123456789012:domain/a1b2c3d4-5678-90ab-cdef-EXAMPLE11111/case-rule/a1b2c3d4-5678-90ab-cdef-EXAMPLE33333
For more information about using the Ref function, see Ref.
Fn::GetAtt
The Fn::GetAtt intrinsic function returns a value for a specified attribute of this type. The following are the available attributes and sample return values.
For more information about using the Fn::GetAtt intrinsic function, see Fn::GetAtt.
CaseRuleArn-
The Amazon Resource Name (ARN) of the case rule.
CaseRuleId-
Unique identifier of a case rule.
CreatedTime-
Timestamp when the resource was created.
LastModifiedTime-
Timestamp when the resource was created or last modified.