interface TaskProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.AppFlow.CfnFlow.TaskProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsappflow#CfnFlow_TaskProperty |
Java | software.amazon.awscdk.services.appflow.CfnFlow.TaskProperty |
Python | aws_cdk.aws_appflow.CfnFlow.TaskProperty |
TypeScript | aws-cdk-lib » aws_appflow » CfnFlow » TaskProperty |
A class for modeling different type of tasks.
Task implementation varies based on the TaskType .
See also: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-flow-task.html
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_appflow as appflow } from 'aws-cdk-lib';
const taskProperty: appflow.CfnFlow.TaskProperty = {
sourceFields: ['sourceFields'],
taskType: 'taskType',
// the properties below are optional
connectorOperator: {
amplitude: 'amplitude',
customConnector: 'customConnector',
datadog: 'datadog',
dynatrace: 'dynatrace',
googleAnalytics: 'googleAnalytics',
inforNexus: 'inforNexus',
marketo: 'marketo',
pardot: 'pardot',
s3: 's3',
salesforce: 'salesforce',
sapoData: 'sapoData',
serviceNow: 'serviceNow',
singular: 'singular',
slack: 'slack',
trendmicro: 'trendmicro',
veeva: 'veeva',
zendesk: 'zendesk',
},
destinationField: 'destinationField',
taskProperties: [{
key: 'key',
value: 'value',
}],
};
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.
Allowed values : Arithmetic | Filter | Map | Map_all | Mask | Merge | Truncate | Validate
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 execution service looks for particular information based on the TaskType .

.NET
Go
Java
Python
TypeScript