interface CfnRuleMixinProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.Connect.CfnRuleMixinProps |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awsconnect#CfnRuleMixinProps |
Java | software.amazon.awscdk.cfnpropertymixins.services.connect.CfnRuleMixinProps |
Python | aws_cdk.cfn_property_mixins.aws_connect.CfnRuleMixinProps |
TypeScript | @aws-cdk/cfn-property-mixins » aws_connect » CfnRuleMixinProps |
Properties for CfnRulePropsMixin.
See also: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-rule.html
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_connect as connect } from '@aws-cdk/cfn-property-mixins';
declare const assignContactCategoryActions: any;
declare const emptyValue: any;
declare const endAssociatedTasksActions: any;
const cfnRuleMixinProps: connect.CfnRuleMixinProps = {
actions: {
assignContactCategoryActions: [assignContactCategoryActions],
createCaseActions: [{
fields: [{
id: 'id',
value: {
booleanValue: false,
doubleValue: 123,
emptyValue: emptyValue,
stringValue: 'stringValue',
},
}],
templateId: 'templateId',
}],
endAssociatedTasksActions: [endAssociatedTasksActions],
eventBridgeActions: [{
name: 'name',
}],
sendNotificationActions: [{
content: 'content',
contentType: 'contentType',
deliveryMethod: 'deliveryMethod',
recipient: {
userArns: ['userArns'],
userTags: {
userTagsKey: 'userTags',
},
},
subject: 'subject',
}],
submitAutoEvaluationActions: [{
evaluationFormArn: 'evaluationFormArn',
}],
taskActions: [{
contactFlowArn: 'contactFlowArn',
description: 'description',
name: 'name',
references: {
referencesKey: {
type: 'type',
value: 'value',
},
},
}],
updateCaseActions: [{
fields: [{
id: 'id',
value: {
booleanValue: false,
doubleValue: 123,
emptyValue: emptyValue,
stringValue: 'stringValue',
},
}],
}],
},
function: 'function',
instanceArn: 'instanceArn',
name: 'name',
publishStatus: 'publishStatus',
tags: [{
key: 'key',
value: 'value',
}],
triggerEventSource: {
eventSourceName: 'eventSourceName',
integrationAssociationArn: 'integrationAssociationArn',
},
};
Properties
| Name | Type | Description |
|---|---|---|
| actions? | IResolvable | Actions | A list of actions to be run when the rule is triggered. |
| function? | string | The conditions of the rule. |
| instance | string | The Amazon Resource Name (ARN) of the instance. |
| name? | string | The name of the rule. |
| publish | string | The publish status of the rule. |
| tags? | Cfn[] | The tags used to organize, track, or control access for this resource. |
| trigger | IResolvable | Rule | The event source to trigger the rule. |
actions?
Type:
IResolvable | Actions
(optional)
A list of actions to be run when the rule is triggered.
function?
Type:
string
(optional)
The conditions of the rule.
instanceArn?
Type:
string
(optional)
The Amazon Resource Name (ARN) of the instance.
name?
Type:
string
(optional)
The name of the rule.
publishStatus?
Type:
string
(optional)
The publish status of the rule.
Allowed values : DRAFT | PUBLISHED
tags?
Type:
Cfn[]
(optional)
The tags used to organize, track, or control access for this resource.
For example, { "tags": {"key1":"value1", "key2":"value2"} }.
triggerEventSource?
Type:
IResolvable | Rule
(optional)
The event source to trigger the rule.

.NET
Go
Java
Python
TypeScript