interface CfnCaseRuleProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.Cases.CfnCaseRuleProps |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awscases#CfnCaseRuleProps |
Java | software.amazon.awscdk.services.cases.CfnCaseRuleProps |
Python | aws_cdk.aws_cases.CfnCaseRuleProps |
TypeScript | aws-cdk-lib » aws_cases » CfnCaseRuleProps |
Properties for defining a CfnCaseRule.
See also: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cases-caserule.html
Example
// 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
| Name | Type | Description |
|---|---|---|
| name | string | Name of the case rule. |
| rule | IResolvable | Case | Represents what rule type should take place, under what conditions. |
| description? | string | Description of a case rule. |
| domain | string | Unique identifier of a Cases domain. |
| tags? | Cfn[] | An array of key-value pairs to apply to this resource. |
name
Type:
string
Name of the case rule.
rule
Type:
IResolvable | Case
Represents what rule type should take place, under what conditions.
description?
Type:
string
(optional)
Description of a case rule.
domainId?
Type:
string
(optional)
Unique identifier of a Cases domain.
tags?
Type:
Cfn[]
(optional)
An array of key-value pairs to apply to this resource.

.NET
Go
Java
Python
TypeScript