aws-cdk-lib.aws_connect.CfnRule.ActionsProperty

interface ActionsProperty

LanguageType name
.NETAmazon.CDK.AWS.Connect.CfnRule.ActionsProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsconnect#CfnRule_ActionsProperty
Javasoftware.amazon.awscdk.services.connect.CfnRule.ActionsProperty
Pythonaws_cdk.aws_connect.CfnRule.ActionsProperty
TypeScript aws-cdk-lib » 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 { aws_connect as connect } from 'aws-cdk-lib';

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

NameTypeDescription
assignContactCategoryActions?any[] | IResolvableInformation about the contact category action.
eventBridgeActions?IResolvable | IResolvable | EventBridgeActionProperty[]Information about the EventBridge action.
sendNotificationActions?IResolvable | IResolvable | SendNotificationActionProperty[]Information about the send notification action.
taskActions?IResolvable | IResolvable | TaskActionProperty[]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 | EventBridgeActionProperty[] (optional)

Information about the EventBridge action.


sendNotificationActions?

Type: IResolvable | IResolvable | SendNotificationActionProperty[] (optional)

Information about the send notification action.


taskActions?

Type: IResolvable | IResolvable | TaskActionProperty[] (optional)

Information about the task action.

This field is required if TriggerEventSource is one of the following values: OnZendeskTicketCreate | OnZendeskTicketStatusUpdate | OnSalesforceCaseCreate