TaskActionProperty Struct
Information about the task action.
This field is required if TriggerEventSource is one of the following values: OnZendeskTicketCreate | OnZendeskTicketStatusUpdate | OnSalesforceCaseCreate
| Source | |
|---|---|
| Type last changed |
Example
ts
// 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',
},
},
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_connect as connect
task_action_property = connect.CfnRule.TaskActionProperty(
contact_flow_arn="contactFlowArn",
name="name",
# the properties below are optional
description="description",
references={
"references_key": connect.CfnRule.ReferenceProperty(
type="type",
value="value"
)
}
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.connect.*;
TaskActionProperty taskActionProperty = TaskActionProperty.builder()
.contactFlowArn("contactFlowArn")
.name("name")
// the properties below are optional
.description("description")
.references(Map.of(
"referencesKey", ReferenceProperty.builder()
.type("type")
.value("value")
.build()))
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Connect;
var taskActionProperty = new TaskActionProperty {
ContactFlowArn = "contactFlowArn",
Name = "name",
// the properties below are optional
Description = "description",
References = new Dictionary<string, object> {
{ "referencesKey", new ReferenceProperty {
Type = "type",
Value = "value"
} }
}
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
taskActionProperty := &TaskActionProperty{
ContactFlowArn: jsii.String("contactFlowArn"),
Name: jsii.String("name"),
// the properties below are optional
Description: jsii.String("description"),
References: map[string]interface{}{
"referencesKey": &ReferenceProperty{
"type": jsii.String("type"),
"value": jsii.String("value"),
},
},
}
Properties
contactFlowArnstringcontact_flow_arnstrcontactFlowArnStringContactFlowArnstringContactFlowArn*string required #The Amazon Resource Name (ARN) of the flow.
descriptionoptionalstringdescriptionoptionalstrdescriptionoptionalStringDescriptionoptionalstringDescriptionoptional*string #The description.
Supports variable injection. For more information, see JSONPath reference in the Connect Customer Administrators Guide .
The name.
Supports variable injection. For more information, see JSONPath reference in the Connect Customer Administrators Guide .
referencesoptionalIResolvable | { [key: string]: IResolvable | CfnRule.ReferenceProperty }referencesoptionaltyping.Union[IResolvable, typing.Mapping[str, typing.Union[IResolvable, ReferenceProperty]]]referencesoptionalIResolvableReferencesoptionalIResolvableReferencesoptionalinterface{} #Information about the reference when the `referenceType` is `URL` .
Otherwise, null. URL is the only accepted type. (Supports variable injection in the Value field.)