interface TaskProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.CustomerProfiles.CfnIntegration.TaskProperty |
Java | software.amazon.awscdk.services.customerprofiles.CfnIntegration.TaskProperty |
Python | aws_cdk.aws_customerprofiles.CfnIntegration.TaskProperty |
TypeScript | @aws-cdk/aws-customerprofiles » CfnIntegration » TaskProperty |
The Task
property type specifies the class for modeling different type of tasks.
Task implementation varies based on the TaskType.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as customerprofiles from '@aws-cdk/aws-customerprofiles';
const taskProperty: customerprofiles.CfnIntegration.TaskProperty = {
sourceFields: ['sourceFields'],
taskType: 'taskType',
// the properties below are optional
connectorOperator: {
marketo: 'marketo',
s3: 's3',
salesforce: 'salesforce',
serviceNow: 'serviceNow',
zendesk: 'zendesk',
},
destinationField: 'destinationField',
taskProperties: [{
operatorPropertyKey: 'operatorPropertyKey',
property: 'property',
}],
};
Properties
Name | Type | Description |
---|---|---|
source | string[] | The source fields to which a particular task is applied. |
task | string | Specifies the particular task implementation that Amazon AppFlow performs. |
connector | IResolvable | Connector | The operation to be performed on the provided source fields. |
destination | string | A field in a destination connector, or a field value against which Amazon AppFlow validates a source field. |
task | IResolvable | IResolvable | Task [] | A map used to store task-related information. |
sourceFields
Type:
string[]
The source fields to which a particular task is applied.
taskType
Type:
string
Specifies the particular task implementation that Amazon AppFlow performs.
connectorOperator?
Type:
IResolvable
|
Connector
(optional)
The operation to be performed on the provided source fields.
destinationField?
Type:
string
(optional)
A field in a destination connector, or a field value against which Amazon AppFlow validates a source field.
taskProperties?
Type:
IResolvable
|
IResolvable
|
Task
[]
(optional)
A map used to store task-related information.
The service looks for particular information based on the TaskType.