aws-cdk-lib.aws_connect.CfnRule.TaskActionProperty

interface TaskActionProperty

LanguageType name
.NETAmazon.CDK.AWS.Connect.CfnRule.TaskActionProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsconnect#CfnRule_TaskActionProperty
Javasoftware.amazon.awscdk.services.connect.CfnRule.TaskActionProperty
Pythonaws_cdk.aws_connect.CfnRule.TaskActionProperty
TypeScript aws-cdk-lib » aws_connect » CfnRule » TaskActionProperty

Information about the task action.

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

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';
const taskActionProperty: connect.CfnRule.TaskActionProperty = {
  contactFlowArn: 'contactFlowArn',
  name: 'name',

  // the properties below are optional
  description: 'description',
  references: {
    referencesKey: {
      type: 'type',
      value: 'value',
    },
  },
};

Properties

NameTypeDescription
contactFlowArnstringThe Amazon Resource Name (ARN) of the flow.
namestringThe name.
description?stringThe description.
references?IResolvable | { [string]: IResolvable | ReferenceProperty }Information about the reference when the referenceType is URL .

contactFlowArn

Type: string

The Amazon Resource Name (ARN) of the flow.


name

Type: string

The name.

Supports variable injection. For more information, see JSONPath reference in the Amazon Connect Administrators Guide .


description?

Type: string (optional)

The description.

Supports variable injection. For more information, see JSONPath reference in the Amazon Connect Administrators Guide .


references?

Type: IResolvable | { [string]: IResolvable | ReferenceProperty } (optional)

Information about the reference when the referenceType is URL .

Otherwise, null. URL is the only accepted type. (Supports variable injection in the Value field.)