aws-cdk-lib.aws_customerprofiles.CfnIntegration.FlowDefinitionProperty

interface FlowDefinitionProperty

LanguageType name
.NETAmazon.CDK.AWS.CustomerProfiles.CfnIntegration.FlowDefinitionProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awscustomerprofiles#CfnIntegration_FlowDefinitionProperty
Javasoftware.amazon.awscdk.services.customerprofiles.CfnIntegration.FlowDefinitionProperty
Pythonaws_cdk.aws_customerprofiles.CfnIntegration.FlowDefinitionProperty
TypeScript aws-cdk-lib » aws_customerprofiles » CfnIntegration » FlowDefinitionProperty

The configurations that control how Customer Profiles retrieves data from the source, Amazon AppFlow.

Customer Profiles uses this information to create an AppFlow flow on behalf of customers.

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 flowDefinitionProperty: customerprofiles.CfnIntegration.FlowDefinitionProperty = {
  flowName: 'flowName',
  kmsArn: 'kmsArn',
  sourceFlowConfig: {
    connectorType: 'connectorType',
    sourceConnectorProperties: {
      marketo: {
        object: 'object',
      },
      s3: {
        bucketName: 'bucketName',

        // the properties below are optional
        bucketPrefix: 'bucketPrefix',
      },
      salesforce: {
        object: 'object',

        // the properties below are optional
        enableDynamicFieldUpdate: false,
        includeDeletedRecords: false,
      },
      serviceNow: {
        object: 'object',
      },
      zendesk: {
        object: 'object',
      },
    },

    // the properties below are optional
    connectorProfileName: 'connectorProfileName',
    incrementalPullConfig: {
      datetimeTypeFieldName: 'datetimeTypeFieldName',
    },
  },
  tasks: [{
    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',
    }],
  }],
  triggerConfig: {
    triggerType: 'triggerType',

    // the properties below are optional
    triggerProperties: {
      scheduled: {
        scheduleExpression: 'scheduleExpression',

        // the properties below are optional
        dataPullMode: 'dataPullMode',
        firstExecutionFrom: 123,
        scheduleEndTime: 123,
        scheduleOffset: 123,
        scheduleStartTime: 123,
        timezone: 'timezone',
      },
    },
  },

  // the properties below are optional
  description: 'description',
};

Properties

NameTypeDescription
flowNamestringThe specified name of the flow.
kmsArnstringThe Amazon Resource Name (ARN) of the AWS Key Management Service (KMS) key you provide for encryption.
sourceFlowConfigIResolvable | SourceFlowConfigPropertyThe configuration that controls how Customer Profiles retrieves data from the source.
tasksIResolvable | IResolvable | TaskProperty[]A list of tasks that Customer Profiles performs while transferring the data in the flow run.
triggerConfigIResolvable | TriggerConfigPropertyThe trigger settings that determine how and when the flow runs.
description?stringA description of the flow you want to create.

flowName

Type: string

The specified name of the flow.

Use underscores (_) or hyphens (-) only. Spaces are not allowed.


kmsArn

Type: string

The Amazon Resource Name (ARN) of the AWS Key Management Service (KMS) key you provide for encryption.


sourceFlowConfig

Type: IResolvable | SourceFlowConfigProperty

The configuration that controls how Customer Profiles retrieves data from the source.


tasks

Type: IResolvable | IResolvable | TaskProperty[]

A list of tasks that Customer Profiles performs while transferring the data in the flow run.


triggerConfig

Type: IResolvable | TriggerConfigProperty

The trigger settings that determine how and when the flow runs.


description?

Type: string (optional)

A description of the flow you want to create.