aws-cdk-lib.aws_appflow.CfnFlow.TaskProperty

interface TaskProperty

LanguageType name
.NETAmazon.CDK.AWS.AppFlow.CfnFlow.TaskProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsappflow#CfnFlow_TaskProperty
Javasoftware.amazon.awscdk.services.appflow.CfnFlow.TaskProperty
Pythonaws_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 .

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

NameTypeDescription
sourceFieldsstring[]The source fields to which a particular task is applied.
taskTypestringSpecifies the particular task implementation that Amazon AppFlow performs.
connectorOperator?IResolvable | ConnectorOperatorPropertyThe operation to be performed on the provided source fields.
destinationField?stringA field in a destination connector, or a field value against which Amazon AppFlow validates a source field.
taskProperties?IResolvable | IResolvable | TaskPropertiesObjectProperty[]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 | ConnectorOperatorProperty (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 | TaskPropertiesObjectProperty[] (optional)

A map used to store task-related information.

The execution service looks for particular information based on the TaskType .