aws-cdk-lib.aws_customerprofiles.CfnIntegration.TaskProperty

interface TaskProperty

LanguageType name
.NETAmazon.CDK.AWS.CustomerProfiles.CfnIntegration.TaskProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awscustomerprofiles#CfnIntegration_TaskProperty
Javasoftware.amazon.awscdk.services.customerprofiles.CfnIntegration.TaskProperty
Pythonaws_cdk.aws_customerprofiles.CfnIntegration.TaskProperty
TypeScript aws-cdk-lib » 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 { aws_customerprofiles as customerprofiles } from 'aws-cdk-lib';
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

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 | TaskPropertiesMapProperty[]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 | 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 | TaskPropertiesMapProperty[] (optional)

A map used to store task-related information.

The service looks for particular information based on the TaskType.