interface ActionsProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.Connect.CfnRule.ActionsProperty |
Java | software.amazon.awscdk.services.connect.CfnRule.ActionsProperty |
Python | aws_cdk.aws_connect.CfnRule.ActionsProperty |
TypeScript | @aws-cdk/aws-connect » CfnRule » ActionsProperty |
A list of actions to be run when the rule is triggered.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as connect from '@aws-cdk/aws-connect';
declare const assignContactCategoryActions: any;
const actionsProperty: connect.CfnRule.ActionsProperty = {
assignContactCategoryActions: [assignContactCategoryActions],
eventBridgeActions: [{
name: 'name',
}],
sendNotificationActions: [{
content: 'content',
contentType: 'contentType',
deliveryMethod: 'deliveryMethod',
recipient: {
userArns: ['userArns'],
userTags: {
userTagsKey: 'userTags',
},
},
// the properties below are optional
subject: 'subject',
}],
taskActions: [{
contactFlowArn: 'contactFlowArn',
name: 'name',
// the properties below are optional
description: 'description',
references: {
referencesKey: {
type: 'type',
value: 'value',
},
},
}],
};
Properties
Name | Type | Description |
---|---|---|
assign | any[] | IResolvable | Information about the contact category action. |
event | IResolvable | IResolvable | Event [] | Information about the EventBridge action. |
send | IResolvable | IResolvable | Send [] | Information about the send notification action. |
task | IResolvable | IResolvable | Task [] | Information about the task action. |
assignContactCategoryActions?
Type:
any[] |
IResolvable
(optional)
Information about the contact category action.
The syntax can be empty, for example, {}
.
eventBridgeActions?
Type:
IResolvable
|
IResolvable
|
Event
[]
(optional)
Information about the EventBridge action.
sendNotificationActions?
Type:
IResolvable
|
IResolvable
|
Send
[]
(optional)
Information about the send notification action.
taskActions?
Type:
IResolvable
|
IResolvable
|
Task
[]
(optional)
Information about the task action.
This field is required if TriggerEventSource
is one of the following values: OnZendeskTicketCreate
| OnZendeskTicketStatusUpdate
| OnSalesforceCaseCreate