Skip to content
v2.278.0

CfnFlowProps Struct ​

Properties for defining a CfnFlow.

Example ​

ts
// 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 cfnFlowProps: appflow.CfnFlowProps = {
  destinationFlowConfigList: [{
    connectorType: 'connectorType',
    destinationConnectorProperties: {
      customConnector: {
        entityName: 'entityName',

        // the properties below are optional
        customProperties: {
          customPropertiesKey: 'customProperties',
        },
        errorHandlingConfig: {
          bucketName: 'bucketName',
          bucketPrefix: 'bucketPrefix',
          failOnFirstError: false,
        },
        idFieldNames: ['idFieldNames'],
        writeOperationType: 'writeOperationType',
      },
      eventBridge: {
        object: 'object',

        // the properties below are optional
        errorHandlingConfig: {
          bucketName: 'bucketName',
          bucketPrefix: 'bucketPrefix',
          failOnFirstError: false,
        },
      },
      lookoutMetrics: {
        object: 'object',
      },
      marketo: {
        object: 'object',

        // the properties below are optional
        errorHandlingConfig: {
          bucketName: 'bucketName',
          bucketPrefix: 'bucketPrefix',
          failOnFirstError: false,
        },
      },
      redshift: {
        intermediateBucketName: 'intermediateBucketName',
        object: 'object',

        // the properties below are optional
        bucketPrefix: 'bucketPrefix',
        errorHandlingConfig: {
          bucketName: 'bucketName',
          bucketPrefix: 'bucketPrefix',
          failOnFirstError: false,
        },
      },
      s3: {
        bucketName: 'bucketName',

        // the properties below are optional
        bucketPrefix: 'bucketPrefix',
        s3OutputFormatConfig: {
          aggregationConfig: {
            aggregationType: 'aggregationType',
            targetFileSize: 123,
          },
          fileType: 'fileType',
          prefixConfig: {
            pathPrefixHierarchy: ['pathPrefixHierarchy'],
            prefixFormat: 'prefixFormat',
            prefixType: 'prefixType',
          },
          preserveSourceDataTyping: false,
        },
      },
      salesforce: {
        object: 'object',

        // the properties below are optional
        dataTransferApi: 'dataTransferApi',
        errorHandlingConfig: {
          bucketName: 'bucketName',
          bucketPrefix: 'bucketPrefix',
          failOnFirstError: false,
        },
        idFieldNames: ['idFieldNames'],
        writeOperationType: 'writeOperationType',
      },
      sapoData: {
        objectPath: 'objectPath',

        // the properties below are optional
        errorHandlingConfig: {
          bucketName: 'bucketName',
          bucketPrefix: 'bucketPrefix',
          failOnFirstError: false,
        },
        idFieldNames: ['idFieldNames'],
        successResponseHandlingConfig: {
          bucketName: 'bucketName',
          bucketPrefix: 'bucketPrefix',
        },
        writeOperationType: 'writeOperationType',
      },
      snowflake: {
        intermediateBucketName: 'intermediateBucketName',
        object: 'object',

        // the properties below are optional
        bucketPrefix: 'bucketPrefix',
        errorHandlingConfig: {
          bucketName: 'bucketName',
          bucketPrefix: 'bucketPrefix',
          failOnFirstError: false,
        },
      },
      upsolver: {
        bucketName: 'bucketName',
        s3OutputFormatConfig: {
          prefixConfig: {
            pathPrefixHierarchy: ['pathPrefixHierarchy'],
            prefixFormat: 'prefixFormat',
            prefixType: 'prefixType',
          },

          // the properties below are optional
          aggregationConfig: {
            aggregationType: 'aggregationType',
            targetFileSize: 123,
          },
          fileType: 'fileType',
        },

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

        // the properties below are optional
        errorHandlingConfig: {
          bucketName: 'bucketName',
          bucketPrefix: 'bucketPrefix',
          failOnFirstError: false,
        },
        idFieldNames: ['idFieldNames'],
        writeOperationType: 'writeOperationType',
      },
    },

    // the properties below are optional
    apiVersion: 'apiVersion',
    connectorProfileName: 'connectorProfileName',
  }],
  flowName: 'flowName',
  sourceFlowConfig: {
    connectorType: 'connectorType',
    sourceConnectorProperties: {
      amplitude: {
        object: 'object',
      },
      customConnector: {
        entityName: 'entityName',

        // the properties below are optional
        customProperties: {
          customPropertiesKey: 'customProperties',
        },
        dataTransferApi: {
          name: 'name',
          type: 'type',
        },
      },
      datadog: {
        object: 'object',
      },
      dynatrace: {
        object: 'object',
      },
      googleAnalytics: {
        object: 'object',
      },
      inforNexus: {
        object: 'object',
      },
      marketo: {
        object: 'object',
      },
      pardot: {
        object: 'object',
      },
      s3: {
        bucketName: 'bucketName',
        bucketPrefix: 'bucketPrefix',

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

        // the properties below are optional
        dataTransferApi: 'dataTransferApi',
        enableDynamicFieldUpdate: false,
        includeDeletedRecords: false,
      },
      sapoData: {
        objectPath: 'objectPath',

        // the properties below are optional
        paginationConfig: {
          maxPageSize: 123,
        },
        parallelismConfig: {
          maxParallelism: 123,
        },
      },
      serviceNow: {
        object: 'object',
      },
      singular: {
        object: 'object',
      },
      slack: {
        object: 'object',
      },
      trendmicro: {
        object: 'object',
      },
      veeva: {
        object: 'object',

        // the properties below are optional
        documentType: 'documentType',
        includeAllVersions: false,
        includeRenditions: false,
        includeSourceFiles: false,
      },
      zendesk: {
        object: 'object',
      },
    },

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

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

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

  // the properties below are optional
  description: 'description',
  flowStatus: 'flowStatus',
  kmsArn: 'kmsArn',
  metadataCatalogConfig: {
    glueDataCatalog: {
      databaseName: 'databaseName',
      roleArn: 'roleArn',
      tablePrefix: 'tablePrefix',
    },
  },
  tags: [{
    key: 'key',
    value: 'value',
  }],
};
python
from aws_cdk import CfnTag
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_appflow as appflow

cfn_flow_props = appflow.CfnFlowProps(
    destination_flow_config_list=[appflow.CfnFlow.DestinationFlowConfigProperty(
        connector_type="connectorType",
        destination_connector_properties=appflow.CfnFlow.DestinationConnectorPropertiesProperty(
            custom_connector=appflow.CfnFlow.CustomConnectorDestinationPropertiesProperty(
                entity_name="entityName",

                # the properties below are optional
                custom_properties={
                    "custom_properties_key": "customProperties"
                },
                error_handling_config=appflow.CfnFlow.ErrorHandlingConfigProperty(
                    bucket_name="bucketName",
                    bucket_prefix="bucketPrefix",
                    fail_on_first_error=False
                ),
                id_field_names=["idFieldNames"],
                write_operation_type="writeOperationType"
            ),
            event_bridge=appflow.CfnFlow.EventBridgeDestinationPropertiesProperty(
                object="object",

                # the properties below are optional
                error_handling_config=appflow.CfnFlow.ErrorHandlingConfigProperty(
                    bucket_name="bucketName",
                    bucket_prefix="bucketPrefix",
                    fail_on_first_error=False
                )
            ),
            lookout_metrics=appflow.CfnFlow.LookoutMetricsDestinationPropertiesProperty(
                object="object"
            ),
            marketo=appflow.CfnFlow.MarketoDestinationPropertiesProperty(
                object="object",

                # the properties below are optional
                error_handling_config=appflow.CfnFlow.ErrorHandlingConfigProperty(
                    bucket_name="bucketName",
                    bucket_prefix="bucketPrefix",
                    fail_on_first_error=False
                )
            ),
            redshift=appflow.CfnFlow.RedshiftDestinationPropertiesProperty(
                intermediate_bucket_name="intermediateBucketName",
                object="object",

                # the properties below are optional
                bucket_prefix="bucketPrefix",
                error_handling_config=appflow.CfnFlow.ErrorHandlingConfigProperty(
                    bucket_name="bucketName",
                    bucket_prefix="bucketPrefix",
                    fail_on_first_error=False
                )
            ),
            s3=appflow.CfnFlow.S3DestinationPropertiesProperty(
                bucket_name="bucketName",

                # the properties below are optional
                bucket_prefix="bucketPrefix",
                s3_output_format_config=appflow.CfnFlow.S3OutputFormatConfigProperty(
                    aggregation_config=appflow.CfnFlow.AggregationConfigProperty(
                        aggregation_type="aggregationType",
                        target_file_size=123
                    ),
                    file_type="fileType",
                    prefix_config=appflow.CfnFlow.PrefixConfigProperty(
                        path_prefix_hierarchy=["pathPrefixHierarchy"],
                        prefix_format="prefixFormat",
                        prefix_type="prefixType"
                    ),
                    preserve_source_data_typing=False
                )
            ),
            salesforce=appflow.CfnFlow.SalesforceDestinationPropertiesProperty(
                object="object",

                # the properties below are optional
                data_transfer_api="dataTransferApi",
                error_handling_config=appflow.CfnFlow.ErrorHandlingConfigProperty(
                    bucket_name="bucketName",
                    bucket_prefix="bucketPrefix",
                    fail_on_first_error=False
                ),
                id_field_names=["idFieldNames"],
                write_operation_type="writeOperationType"
            ),
            sapo_data=appflow.CfnFlow.SAPODataDestinationPropertiesProperty(
                object_path="objectPath",

                # the properties below are optional
                error_handling_config=appflow.CfnFlow.ErrorHandlingConfigProperty(
                    bucket_name="bucketName",
                    bucket_prefix="bucketPrefix",
                    fail_on_first_error=False
                ),
                id_field_names=["idFieldNames"],
                success_response_handling_config=appflow.CfnFlow.SuccessResponseHandlingConfigProperty(
                    bucket_name="bucketName",
                    bucket_prefix="bucketPrefix"
                ),
                write_operation_type="writeOperationType"
            ),
            snowflake=appflow.CfnFlow.SnowflakeDestinationPropertiesProperty(
                intermediate_bucket_name="intermediateBucketName",
                object="object",

                # the properties below are optional
                bucket_prefix="bucketPrefix",
                error_handling_config=appflow.CfnFlow.ErrorHandlingConfigProperty(
                    bucket_name="bucketName",
                    bucket_prefix="bucketPrefix",
                    fail_on_first_error=False
                )
            ),
            upsolver=appflow.CfnFlow.UpsolverDestinationPropertiesProperty(
                bucket_name="bucketName",
                s3_output_format_config=appflow.CfnFlow.UpsolverS3OutputFormatConfigProperty(
                    prefix_config=appflow.CfnFlow.PrefixConfigProperty(
                        path_prefix_hierarchy=["pathPrefixHierarchy"],
                        prefix_format="prefixFormat",
                        prefix_type="prefixType"
                    ),

                    # the properties below are optional
                    aggregation_config=appflow.CfnFlow.AggregationConfigProperty(
                        aggregation_type="aggregationType",
                        target_file_size=123
                    ),
                    file_type="fileType"
                ),

                # the properties below are optional
                bucket_prefix="bucketPrefix"
            ),
            zendesk=appflow.CfnFlow.ZendeskDestinationPropertiesProperty(
                object="object",

                # the properties below are optional
                error_handling_config=appflow.CfnFlow.ErrorHandlingConfigProperty(
                    bucket_name="bucketName",
                    bucket_prefix="bucketPrefix",
                    fail_on_first_error=False
                ),
                id_field_names=["idFieldNames"],
                write_operation_type="writeOperationType"
            )
        ),

        # the properties below are optional
        api_version="apiVersion",
        connector_profile_name="connectorProfileName"
    )],
    flow_name="flowName",
    source_flow_config=appflow.CfnFlow.SourceFlowConfigProperty(
        connector_type="connectorType",
        source_connector_properties=appflow.CfnFlow.SourceConnectorPropertiesProperty(
            amplitude=appflow.CfnFlow.AmplitudeSourcePropertiesProperty(
                object="object"
            ),
            custom_connector=appflow.CfnFlow.CustomConnectorSourcePropertiesProperty(
                entity_name="entityName",

                # the properties below are optional
                custom_properties={
                    "custom_properties_key": "customProperties"
                },
                data_transfer_api=appflow.CfnFlow.DataTransferApiProperty(
                    name="name",
                    type="type"
                )
            ),
            datadog=appflow.CfnFlow.DatadogSourcePropertiesProperty(
                object="object"
            ),
            dynatrace=appflow.CfnFlow.DynatraceSourcePropertiesProperty(
                object="object"
            ),
            google_analytics=appflow.CfnFlow.GoogleAnalyticsSourcePropertiesProperty(
                object="object"
            ),
            infor_nexus=appflow.CfnFlow.InforNexusSourcePropertiesProperty(
                object="object"
            ),
            marketo=appflow.CfnFlow.MarketoSourcePropertiesProperty(
                object="object"
            ),
            pardot=appflow.CfnFlow.PardotSourcePropertiesProperty(
                object="object"
            ),
            s3=appflow.CfnFlow.S3SourcePropertiesProperty(
                bucket_name="bucketName",
                bucket_prefix="bucketPrefix",

                # the properties below are optional
                s3_input_format_config=appflow.CfnFlow.S3InputFormatConfigProperty(
                    s3_input_file_type="s3InputFileType"
                )
            ),
            salesforce=appflow.CfnFlow.SalesforceSourcePropertiesProperty(
                object="object",

                # the properties below are optional
                data_transfer_api="dataTransferApi",
                enable_dynamic_field_update=False,
                include_deleted_records=False
            ),
            sapo_data=appflow.CfnFlow.SAPODataSourcePropertiesProperty(
                object_path="objectPath",

                # the properties below are optional
                pagination_config=appflow.CfnFlow.SAPODataPaginationConfigProperty(
                    max_page_size=123
                ),
                parallelism_config=appflow.CfnFlow.SAPODataParallelismConfigProperty(
                    max_parallelism=123
                )
            ),
            service_now=appflow.CfnFlow.ServiceNowSourcePropertiesProperty(
                object="object"
            ),
            singular=appflow.CfnFlow.SingularSourcePropertiesProperty(
                object="object"
            ),
            slack=appflow.CfnFlow.SlackSourcePropertiesProperty(
                object="object"
            ),
            trendmicro=appflow.CfnFlow.TrendmicroSourcePropertiesProperty(
                object="object"
            ),
            veeva=appflow.CfnFlow.VeevaSourcePropertiesProperty(
                object="object",

                # the properties below are optional
                document_type="documentType",
                include_all_versions=False,
                include_renditions=False,
                include_source_files=False
            ),
            zendesk=appflow.CfnFlow.ZendeskSourcePropertiesProperty(
                object="object"
            )
        ),

        # the properties below are optional
        api_version="apiVersion",
        connector_profile_name="connectorProfileName",
        incremental_pull_config=appflow.CfnFlow.IncrementalPullConfigProperty(
            datetime_type_field_name="datetimeTypeFieldName"
        )
    ),
    tasks=[appflow.CfnFlow.TaskProperty(
        source_fields=["sourceFields"],
        task_type="taskType",

        # the properties below are optional
        connector_operator=appflow.CfnFlow.ConnectorOperatorProperty(
            amplitude="amplitude",
            custom_connector="customConnector",
            datadog="datadog",
            dynatrace="dynatrace",
            google_analytics="googleAnalytics",
            infor_nexus="inforNexus",
            marketo="marketo",
            pardot="pardot",
            s3="s3",
            salesforce="salesforce",
            sapo_data="sapoData",
            service_now="serviceNow",
            singular="singular",
            slack="slack",
            trendmicro="trendmicro",
            veeva="veeva",
            zendesk="zendesk"
        ),
        destination_field="destinationField",
        task_properties=[appflow.CfnFlow.TaskPropertiesObjectProperty(
            key="key",
            value="value"
        )]
    )],
    trigger_config=appflow.CfnFlow.TriggerConfigProperty(
        trigger_type="triggerType",

        # the properties below are optional
        trigger_properties=appflow.CfnFlow.ScheduledTriggerPropertiesProperty(
            schedule_expression="scheduleExpression",

            # the properties below are optional
            data_pull_mode="dataPullMode",
            first_execution_from=123,
            flow_error_deactivation_threshold=123,
            schedule_end_time=123,
            schedule_offset=123,
            schedule_start_time=123,
            time_zone="timeZone"
        )
    ),

    # the properties below are optional
    description="description",
    flow_status="flowStatus",
    kms_arn="kmsArn",
    metadata_catalog_config=appflow.CfnFlow.MetadataCatalogConfigProperty(
        glue_data_catalog=appflow.CfnFlow.GlueDataCatalogProperty(
            database_name="databaseName",
            role_arn="roleArn",
            table_prefix="tablePrefix"
        )
    ),
    tags=[CfnTag(
        key="key",
        value="value"
    )]
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.appflow.*;

CfnFlowProps cfnFlowProps = CfnFlowProps.builder()
        .destinationFlowConfigList(List.of(DestinationFlowConfigProperty.builder()
                .connectorType("connectorType")
                .destinationConnectorProperties(DestinationConnectorPropertiesProperty.builder()
                        .customConnector(CustomConnectorDestinationPropertiesProperty.builder()
                                .entityName("entityName")

                                // the properties below are optional
                                .customProperties(Map.of(
                                        "customPropertiesKey", "customProperties"))
                                .errorHandlingConfig(ErrorHandlingConfigProperty.builder()
                                        .bucketName("bucketName")
                                        .bucketPrefix("bucketPrefix")
                                        .failOnFirstError(false)
                                        .build())
                                .idFieldNames(List.of("idFieldNames"))
                                .writeOperationType("writeOperationType")
                                .build())
                        .eventBridge(EventBridgeDestinationPropertiesProperty.builder()
                                .object("object")

                                // the properties below are optional
                                .errorHandlingConfig(ErrorHandlingConfigProperty.builder()
                                        .bucketName("bucketName")
                                        .bucketPrefix("bucketPrefix")
                                        .failOnFirstError(false)
                                        .build())
                                .build())
                        .lookoutMetrics(LookoutMetricsDestinationPropertiesProperty.builder()
                                .object("object")
                                .build())
                        .marketo(MarketoDestinationPropertiesProperty.builder()
                                .object("object")

                                // the properties below are optional
                                .errorHandlingConfig(ErrorHandlingConfigProperty.builder()
                                        .bucketName("bucketName")
                                        .bucketPrefix("bucketPrefix")
                                        .failOnFirstError(false)
                                        .build())
                                .build())
                        .redshift(RedshiftDestinationPropertiesProperty.builder()
                                .intermediateBucketName("intermediateBucketName")
                                .object("object")

                                // the properties below are optional
                                .bucketPrefix("bucketPrefix")
                                .errorHandlingConfig(ErrorHandlingConfigProperty.builder()
                                        .bucketName("bucketName")
                                        .bucketPrefix("bucketPrefix")
                                        .failOnFirstError(false)
                                        .build())
                                .build())
                        .s3(S3DestinationPropertiesProperty.builder()
                                .bucketName("bucketName")

                                // the properties below are optional
                                .bucketPrefix("bucketPrefix")
                                .s3OutputFormatConfig(S3OutputFormatConfigProperty.builder()
                                        .aggregationConfig(AggregationConfigProperty.builder()
                                                .aggregationType("aggregationType")
                                                .targetFileSize(123)
                                                .build())
                                        .fileType("fileType")
                                        .prefixConfig(PrefixConfigProperty.builder()
                                                .pathPrefixHierarchy(List.of("pathPrefixHierarchy"))
                                                .prefixFormat("prefixFormat")
                                                .prefixType("prefixType")
                                                .build())
                                        .preserveSourceDataTyping(false)
                                        .build())
                                .build())
                        .salesforce(SalesforceDestinationPropertiesProperty.builder()
                                .object("object")

                                // the properties below are optional
                                .dataTransferApi("dataTransferApi")
                                .errorHandlingConfig(ErrorHandlingConfigProperty.builder()
                                        .bucketName("bucketName")
                                        .bucketPrefix("bucketPrefix")
                                        .failOnFirstError(false)
                                        .build())
                                .idFieldNames(List.of("idFieldNames"))
                                .writeOperationType("writeOperationType")
                                .build())
                        .sapoData(SAPODataDestinationPropertiesProperty.builder()
                                .objectPath("objectPath")

                                // the properties below are optional
                                .errorHandlingConfig(ErrorHandlingConfigProperty.builder()
                                        .bucketName("bucketName")
                                        .bucketPrefix("bucketPrefix")
                                        .failOnFirstError(false)
                                        .build())
                                .idFieldNames(List.of("idFieldNames"))
                                .successResponseHandlingConfig(SuccessResponseHandlingConfigProperty.builder()
                                        .bucketName("bucketName")
                                        .bucketPrefix("bucketPrefix")
                                        .build())
                                .writeOperationType("writeOperationType")
                                .build())
                        .snowflake(SnowflakeDestinationPropertiesProperty.builder()
                                .intermediateBucketName("intermediateBucketName")
                                .object("object")

                                // the properties below are optional
                                .bucketPrefix("bucketPrefix")
                                .errorHandlingConfig(ErrorHandlingConfigProperty.builder()
                                        .bucketName("bucketName")
                                        .bucketPrefix("bucketPrefix")
                                        .failOnFirstError(false)
                                        .build())
                                .build())
                        .upsolver(UpsolverDestinationPropertiesProperty.builder()
                                .bucketName("bucketName")
                                .s3OutputFormatConfig(UpsolverS3OutputFormatConfigProperty.builder()
                                        .prefixConfig(PrefixConfigProperty.builder()
                                                .pathPrefixHierarchy(List.of("pathPrefixHierarchy"))
                                                .prefixFormat("prefixFormat")
                                                .prefixType("prefixType")
                                                .build())

                                        // the properties below are optional
                                        .aggregationConfig(AggregationConfigProperty.builder()
                                                .aggregationType("aggregationType")
                                                .targetFileSize(123)
                                                .build())
                                        .fileType("fileType")
                                        .build())

                                // the properties below are optional
                                .bucketPrefix("bucketPrefix")
                                .build())
                        .zendesk(ZendeskDestinationPropertiesProperty.builder()
                                .object("object")

                                // the properties below are optional
                                .errorHandlingConfig(ErrorHandlingConfigProperty.builder()
                                        .bucketName("bucketName")
                                        .bucketPrefix("bucketPrefix")
                                        .failOnFirstError(false)
                                        .build())
                                .idFieldNames(List.of("idFieldNames"))
                                .writeOperationType("writeOperationType")
                                .build())
                        .build())

                // the properties below are optional
                .apiVersion("apiVersion")
                .connectorProfileName("connectorProfileName")
                .build()))
        .flowName("flowName")
        .sourceFlowConfig(SourceFlowConfigProperty.builder()
                .connectorType("connectorType")
                .sourceConnectorProperties(SourceConnectorPropertiesProperty.builder()
                        .amplitude(AmplitudeSourcePropertiesProperty.builder()
                                .object("object")
                                .build())
                        .customConnector(CustomConnectorSourcePropertiesProperty.builder()
                                .entityName("entityName")

                                // the properties below are optional
                                .customProperties(Map.of(
                                        "customPropertiesKey", "customProperties"))
                                .dataTransferApi(DataTransferApiProperty.builder()
                                        .name("name")
                                        .type("type")
                                        .build())
                                .build())
                        .datadog(DatadogSourcePropertiesProperty.builder()
                                .object("object")
                                .build())
                        .dynatrace(DynatraceSourcePropertiesProperty.builder()
                                .object("object")
                                .build())
                        .googleAnalytics(GoogleAnalyticsSourcePropertiesProperty.builder()
                                .object("object")
                                .build())
                        .inforNexus(InforNexusSourcePropertiesProperty.builder()
                                .object("object")
                                .build())
                        .marketo(MarketoSourcePropertiesProperty.builder()
                                .object("object")
                                .build())
                        .pardot(PardotSourcePropertiesProperty.builder()
                                .object("object")
                                .build())
                        .s3(S3SourcePropertiesProperty.builder()
                                .bucketName("bucketName")
                                .bucketPrefix("bucketPrefix")

                                // the properties below are optional
                                .s3InputFormatConfig(S3InputFormatConfigProperty.builder()
                                        .s3InputFileType("s3InputFileType")
                                        .build())
                                .build())
                        .salesforce(SalesforceSourcePropertiesProperty.builder()
                                .object("object")

                                // the properties below are optional
                                .dataTransferApi("dataTransferApi")
                                .enableDynamicFieldUpdate(false)
                                .includeDeletedRecords(false)
                                .build())
                        .sapoData(SAPODataSourcePropertiesProperty.builder()
                                .objectPath("objectPath")

                                // the properties below are optional
                                .paginationConfig(SAPODataPaginationConfigProperty.builder()
                                        .maxPageSize(123)
                                        .build())
                                .parallelismConfig(SAPODataParallelismConfigProperty.builder()
                                        .maxParallelism(123)
                                        .build())
                                .build())
                        .serviceNow(ServiceNowSourcePropertiesProperty.builder()
                                .object("object")
                                .build())
                        .singular(SingularSourcePropertiesProperty.builder()
                                .object("object")
                                .build())
                        .slack(SlackSourcePropertiesProperty.builder()
                                .object("object")
                                .build())
                        .trendmicro(TrendmicroSourcePropertiesProperty.builder()
                                .object("object")
                                .build())
                        .veeva(VeevaSourcePropertiesProperty.builder()
                                .object("object")

                                // the properties below are optional
                                .documentType("documentType")
                                .includeAllVersions(false)
                                .includeRenditions(false)
                                .includeSourceFiles(false)
                                .build())
                        .zendesk(ZendeskSourcePropertiesProperty.builder()
                                .object("object")
                                .build())
                        .build())

                // the properties below are optional
                .apiVersion("apiVersion")
                .connectorProfileName("connectorProfileName")
                .incrementalPullConfig(IncrementalPullConfigProperty.builder()
                        .datetimeTypeFieldName("datetimeTypeFieldName")
                        .build())
                .build())
        .tasks(List.of(TaskProperty.builder()
                .sourceFields(List.of("sourceFields"))
                .taskType("taskType")

                // the properties below are optional
                .connectorOperator(ConnectorOperatorProperty.builder()
                        .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")
                        .build())
                .destinationField("destinationField")
                .taskProperties(List.of(TaskPropertiesObjectProperty.builder()
                        .key("key")
                        .value("value")
                        .build()))
                .build()))
        .triggerConfig(TriggerConfigProperty.builder()
                .triggerType("triggerType")

                // the properties below are optional
                .triggerProperties(ScheduledTriggerPropertiesProperty.builder()
                        .scheduleExpression("scheduleExpression")

                        // the properties below are optional
                        .dataPullMode("dataPullMode")
                        .firstExecutionFrom(123)
                        .flowErrorDeactivationThreshold(123)
                        .scheduleEndTime(123)
                        .scheduleOffset(123)
                        .scheduleStartTime(123)
                        .timeZone("timeZone")
                        .build())
                .build())

        // the properties below are optional
        .description("description")
        .flowStatus("flowStatus")
        .kmsArn("kmsArn")
        .metadataCatalogConfig(MetadataCatalogConfigProperty.builder()
                .glueDataCatalog(GlueDataCatalogProperty.builder()
                        .databaseName("databaseName")
                        .roleArn("roleArn")
                        .tablePrefix("tablePrefix")
                        .build())
                .build())
        .tags(List.of(CfnTag.builder()
                .key("key")
                .value("value")
                .build()))
        .build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.AppFlow;

var cfnFlowProps = new CfnFlowProps {
    DestinationFlowConfigList = new [] { new DestinationFlowConfigProperty {
        ConnectorType = "connectorType",
        DestinationConnectorProperties = new DestinationConnectorPropertiesProperty {
            CustomConnector = new CustomConnectorDestinationPropertiesProperty {
                EntityName = "entityName",

                // the properties below are optional
                CustomProperties = new Dictionary<string, string> {
                    { "customPropertiesKey", "customProperties" }
                },
                ErrorHandlingConfig = new ErrorHandlingConfigProperty {
                    BucketName = "bucketName",
                    BucketPrefix = "bucketPrefix",
                    FailOnFirstError = false
                },
                IdFieldNames = new [] { "idFieldNames" },
                WriteOperationType = "writeOperationType"
            },
            EventBridge = new EventBridgeDestinationPropertiesProperty {
                Object = "object",

                // the properties below are optional
                ErrorHandlingConfig = new ErrorHandlingConfigProperty {
                    BucketName = "bucketName",
                    BucketPrefix = "bucketPrefix",
                    FailOnFirstError = false
                }
            },
            LookoutMetrics = new LookoutMetricsDestinationPropertiesProperty {
                Object = "object"
            },
            Marketo = new MarketoDestinationPropertiesProperty {
                Object = "object",

                // the properties below are optional
                ErrorHandlingConfig = new ErrorHandlingConfigProperty {
                    BucketName = "bucketName",
                    BucketPrefix = "bucketPrefix",
                    FailOnFirstError = false
                }
            },
            Redshift = new RedshiftDestinationPropertiesProperty {
                IntermediateBucketName = "intermediateBucketName",
                Object = "object",

                // the properties below are optional
                BucketPrefix = "bucketPrefix",
                ErrorHandlingConfig = new ErrorHandlingConfigProperty {
                    BucketName = "bucketName",
                    BucketPrefix = "bucketPrefix",
                    FailOnFirstError = false
                }
            },
            S3 = new S3DestinationPropertiesProperty {
                BucketName = "bucketName",

                // the properties below are optional
                BucketPrefix = "bucketPrefix",
                S3OutputFormatConfig = new S3OutputFormatConfigProperty {
                    AggregationConfig = new AggregationConfigProperty {
                        AggregationType = "aggregationType",
                        TargetFileSize = 123
                    },
                    FileType = "fileType",
                    PrefixConfig = new PrefixConfigProperty {
                        PathPrefixHierarchy = new [] { "pathPrefixHierarchy" },
                        PrefixFormat = "prefixFormat",
                        PrefixType = "prefixType"
                    },
                    PreserveSourceDataTyping = false
                }
            },
            Salesforce = new SalesforceDestinationPropertiesProperty {
                Object = "object",

                // the properties below are optional
                DataTransferApi = "dataTransferApi",
                ErrorHandlingConfig = new ErrorHandlingConfigProperty {
                    BucketName = "bucketName",
                    BucketPrefix = "bucketPrefix",
                    FailOnFirstError = false
                },
                IdFieldNames = new [] { "idFieldNames" },
                WriteOperationType = "writeOperationType"
            },
            SapoData = new SAPODataDestinationPropertiesProperty {
                ObjectPath = "objectPath",

                // the properties below are optional
                ErrorHandlingConfig = new ErrorHandlingConfigProperty {
                    BucketName = "bucketName",
                    BucketPrefix = "bucketPrefix",
                    FailOnFirstError = false
                },
                IdFieldNames = new [] { "idFieldNames" },
                SuccessResponseHandlingConfig = new SuccessResponseHandlingConfigProperty {
                    BucketName = "bucketName",
                    BucketPrefix = "bucketPrefix"
                },
                WriteOperationType = "writeOperationType"
            },
            Snowflake = new SnowflakeDestinationPropertiesProperty {
                IntermediateBucketName = "intermediateBucketName",
                Object = "object",

                // the properties below are optional
                BucketPrefix = "bucketPrefix",
                ErrorHandlingConfig = new ErrorHandlingConfigProperty {
                    BucketName = "bucketName",
                    BucketPrefix = "bucketPrefix",
                    FailOnFirstError = false
                }
            },
            Upsolver = new UpsolverDestinationPropertiesProperty {
                BucketName = "bucketName",
                S3OutputFormatConfig = new UpsolverS3OutputFormatConfigProperty {
                    PrefixConfig = new PrefixConfigProperty {
                        PathPrefixHierarchy = new [] { "pathPrefixHierarchy" },
                        PrefixFormat = "prefixFormat",
                        PrefixType = "prefixType"
                    },

                    // the properties below are optional
                    AggregationConfig = new AggregationConfigProperty {
                        AggregationType = "aggregationType",
                        TargetFileSize = 123
                    },
                    FileType = "fileType"
                },

                // the properties below are optional
                BucketPrefix = "bucketPrefix"
            },
            Zendesk = new ZendeskDestinationPropertiesProperty {
                Object = "object",

                // the properties below are optional
                ErrorHandlingConfig = new ErrorHandlingConfigProperty {
                    BucketName = "bucketName",
                    BucketPrefix = "bucketPrefix",
                    FailOnFirstError = false
                },
                IdFieldNames = new [] { "idFieldNames" },
                WriteOperationType = "writeOperationType"
            }
        },

        // the properties below are optional
        ApiVersion = "apiVersion",
        ConnectorProfileName = "connectorProfileName"
    } },
    FlowName = "flowName",
    SourceFlowConfig = new SourceFlowConfigProperty {
        ConnectorType = "connectorType",
        SourceConnectorProperties = new SourceConnectorPropertiesProperty {
            Amplitude = new AmplitudeSourcePropertiesProperty {
                Object = "object"
            },
            CustomConnector = new CustomConnectorSourcePropertiesProperty {
                EntityName = "entityName",

                // the properties below are optional
                CustomProperties = new Dictionary<string, string> {
                    { "customPropertiesKey", "customProperties" }
                },
                DataTransferApi = new DataTransferApiProperty {
                    Name = "name",
                    Type = "type"
                }
            },
            Datadog = new DatadogSourcePropertiesProperty {
                Object = "object"
            },
            Dynatrace = new DynatraceSourcePropertiesProperty {
                Object = "object"
            },
            GoogleAnalytics = new GoogleAnalyticsSourcePropertiesProperty {
                Object = "object"
            },
            InforNexus = new InforNexusSourcePropertiesProperty {
                Object = "object"
            },
            Marketo = new MarketoSourcePropertiesProperty {
                Object = "object"
            },
            Pardot = new PardotSourcePropertiesProperty {
                Object = "object"
            },
            S3 = new S3SourcePropertiesProperty {
                BucketName = "bucketName",
                BucketPrefix = "bucketPrefix",

                // the properties below are optional
                S3InputFormatConfig = new S3InputFormatConfigProperty {
                    S3InputFileType = "s3InputFileType"
                }
            },
            Salesforce = new SalesforceSourcePropertiesProperty {
                Object = "object",

                // the properties below are optional
                DataTransferApi = "dataTransferApi",
                EnableDynamicFieldUpdate = false,
                IncludeDeletedRecords = false
            },
            SapoData = new SAPODataSourcePropertiesProperty {
                ObjectPath = "objectPath",

                // the properties below are optional
                PaginationConfig = new SAPODataPaginationConfigProperty {
                    MaxPageSize = 123
                },
                ParallelismConfig = new SAPODataParallelismConfigProperty {
                    MaxParallelism = 123
                }
            },
            ServiceNow = new ServiceNowSourcePropertiesProperty {
                Object = "object"
            },
            Singular = new SingularSourcePropertiesProperty {
                Object = "object"
            },
            Slack = new SlackSourcePropertiesProperty {
                Object = "object"
            },
            Trendmicro = new TrendmicroSourcePropertiesProperty {
                Object = "object"
            },
            Veeva = new VeevaSourcePropertiesProperty {
                Object = "object",

                // the properties below are optional
                DocumentType = "documentType",
                IncludeAllVersions = false,
                IncludeRenditions = false,
                IncludeSourceFiles = false
            },
            Zendesk = new ZendeskSourcePropertiesProperty {
                Object = "object"
            }
        },

        // the properties below are optional
        ApiVersion = "apiVersion",
        ConnectorProfileName = "connectorProfileName",
        IncrementalPullConfig = new IncrementalPullConfigProperty {
            DatetimeTypeFieldName = "datetimeTypeFieldName"
        }
    },
    Tasks = new [] { new TaskProperty {
        SourceFields = new [] { "sourceFields" },
        TaskType = "taskType",

        // the properties below are optional
        ConnectorOperator = new ConnectorOperatorProperty {
            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 = new [] { new TaskPropertiesObjectProperty {
            Key = "key",
            Value = "value"
        } }
    } },
    TriggerConfig = new TriggerConfigProperty {
        TriggerType = "triggerType",

        // the properties below are optional
        TriggerProperties = new ScheduledTriggerPropertiesProperty {
            ScheduleExpression = "scheduleExpression",

            // the properties below are optional
            DataPullMode = "dataPullMode",
            FirstExecutionFrom = 123,
            FlowErrorDeactivationThreshold = 123,
            ScheduleEndTime = 123,
            ScheduleOffset = 123,
            ScheduleStartTime = 123,
            TimeZone = "timeZone"
        }
    },

    // the properties below are optional
    Description = "description",
    FlowStatus = "flowStatus",
    KmsArn = "kmsArn",
    MetadataCatalogConfig = new MetadataCatalogConfigProperty {
        GlueDataCatalog = new GlueDataCatalogProperty {
            DatabaseName = "databaseName",
            RoleArn = "roleArn",
            TablePrefix = "tablePrefix"
        }
    },
    Tags = new [] { new CfnTag {
        Key = "key",
        Value = "value"
    } }
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

cfnFlowProps := &CfnFlowProps{
	DestinationFlowConfigList: []interface{}{
		&DestinationFlowConfigProperty{
			ConnectorType: jsii.String("connectorType"),
			DestinationConnectorProperties: &DestinationConnectorPropertiesProperty{
				CustomConnector: &CustomConnectorDestinationPropertiesProperty{
					EntityName: jsii.String("entityName"),

					// the properties below are optional
					CustomProperties: map[string]*string{
						"customPropertiesKey": jsii.String("customProperties"),
					},
					ErrorHandlingConfig: &ErrorHandlingConfigProperty{
						BucketName: jsii.String("bucketName"),
						BucketPrefix: jsii.String("bucketPrefix"),
						FailOnFirstError: jsii.Boolean(false),
					},
					IdFieldNames: []*string{
						jsii.String("idFieldNames"),
					},
					WriteOperationType: jsii.String("writeOperationType"),
				},
				EventBridge: &EventBridgeDestinationPropertiesProperty{
					Object: jsii.String("object"),

					// the properties below are optional
					ErrorHandlingConfig: &ErrorHandlingConfigProperty{
						BucketName: jsii.String("bucketName"),
						BucketPrefix: jsii.String("bucketPrefix"),
						FailOnFirstError: jsii.Boolean(false),
					},
				},
				LookoutMetrics: &LookoutMetricsDestinationPropertiesProperty{
					Object: jsii.String("object"),
				},
				Marketo: &MarketoDestinationPropertiesProperty{
					Object: jsii.String("object"),

					// the properties below are optional
					ErrorHandlingConfig: &ErrorHandlingConfigProperty{
						BucketName: jsii.String("bucketName"),
						BucketPrefix: jsii.String("bucketPrefix"),
						FailOnFirstError: jsii.Boolean(false),
					},
				},
				Redshift: &RedshiftDestinationPropertiesProperty{
					IntermediateBucketName: jsii.String("intermediateBucketName"),
					Object: jsii.String("object"),

					// the properties below are optional
					BucketPrefix: jsii.String("bucketPrefix"),
					ErrorHandlingConfig: &ErrorHandlingConfigProperty{
						BucketName: jsii.String("bucketName"),
						BucketPrefix: jsii.String("bucketPrefix"),
						FailOnFirstError: jsii.Boolean(false),
					},
				},
				S3: &S3DestinationPropertiesProperty{
					BucketName: jsii.String("bucketName"),

					// the properties below are optional
					BucketPrefix: jsii.String("bucketPrefix"),
					S3OutputFormatConfig: &S3OutputFormatConfigProperty{
						AggregationConfig: &AggregationConfigProperty{
							AggregationType: jsii.String("aggregationType"),
							TargetFileSize: jsii.Number(123),
						},
						FileType: jsii.String("fileType"),
						PrefixConfig: &PrefixConfigProperty{
							PathPrefixHierarchy: []*string{
								jsii.String("pathPrefixHierarchy"),
							},
							PrefixFormat: jsii.String("prefixFormat"),
							PrefixType: jsii.String("prefixType"),
						},
						PreserveSourceDataTyping: jsii.Boolean(false),
					},
				},
				Salesforce: &SalesforceDestinationPropertiesProperty{
					Object: jsii.String("object"),

					// the properties below are optional
					DataTransferApi: jsii.String("dataTransferApi"),
					ErrorHandlingConfig: &ErrorHandlingConfigProperty{
						BucketName: jsii.String("bucketName"),
						BucketPrefix: jsii.String("bucketPrefix"),
						FailOnFirstError: jsii.Boolean(false),
					},
					IdFieldNames: []*string{
						jsii.String("idFieldNames"),
					},
					WriteOperationType: jsii.String("writeOperationType"),
				},
				SapoData: &SAPODataDestinationPropertiesProperty{
					ObjectPath: jsii.String("objectPath"),

					// the properties below are optional
					ErrorHandlingConfig: &ErrorHandlingConfigProperty{
						BucketName: jsii.String("bucketName"),
						BucketPrefix: jsii.String("bucketPrefix"),
						FailOnFirstError: jsii.Boolean(false),
					},
					IdFieldNames: []*string{
						jsii.String("idFieldNames"),
					},
					SuccessResponseHandlingConfig: &SuccessResponseHandlingConfigProperty{
						BucketName: jsii.String("bucketName"),
						BucketPrefix: jsii.String("bucketPrefix"),
					},
					WriteOperationType: jsii.String("writeOperationType"),
				},
				Snowflake: &SnowflakeDestinationPropertiesProperty{
					IntermediateBucketName: jsii.String("intermediateBucketName"),
					Object: jsii.String("object"),

					// the properties below are optional
					BucketPrefix: jsii.String("bucketPrefix"),
					ErrorHandlingConfig: &ErrorHandlingConfigProperty{
						BucketName: jsii.String("bucketName"),
						BucketPrefix: jsii.String("bucketPrefix"),
						FailOnFirstError: jsii.Boolean(false),
					},
				},
				Upsolver: &UpsolverDestinationPropertiesProperty{
					BucketName: jsii.String("bucketName"),
					S3OutputFormatConfig: &UpsolverS3OutputFormatConfigProperty{
						PrefixConfig: &PrefixConfigProperty{
							PathPrefixHierarchy: []*string{
								jsii.String("pathPrefixHierarchy"),
							},
							PrefixFormat: jsii.String("prefixFormat"),
							PrefixType: jsii.String("prefixType"),
						},

						// the properties below are optional
						AggregationConfig: &AggregationConfigProperty{
							AggregationType: jsii.String("aggregationType"),
							TargetFileSize: jsii.Number(123),
						},
						FileType: jsii.String("fileType"),
					},

					// the properties below are optional
					BucketPrefix: jsii.String("bucketPrefix"),
				},
				Zendesk: &ZendeskDestinationPropertiesProperty{
					Object: jsii.String("object"),

					// the properties below are optional
					ErrorHandlingConfig: &ErrorHandlingConfigProperty{
						BucketName: jsii.String("bucketName"),
						BucketPrefix: jsii.String("bucketPrefix"),
						FailOnFirstError: jsii.Boolean(false),
					},
					IdFieldNames: []*string{
						jsii.String("idFieldNames"),
					},
					WriteOperationType: jsii.String("writeOperationType"),
				},
			},

			// the properties below are optional
			ApiVersion: jsii.String("apiVersion"),
			ConnectorProfileName: jsii.String("connectorProfileName"),
		},
	},
	FlowName: jsii.String("flowName"),
	SourceFlowConfig: &SourceFlowConfigProperty{
		ConnectorType: jsii.String("connectorType"),
		SourceConnectorProperties: &SourceConnectorPropertiesProperty{
			Amplitude: &AmplitudeSourcePropertiesProperty{
				Object: jsii.String("object"),
			},
			CustomConnector: &CustomConnectorSourcePropertiesProperty{
				EntityName: jsii.String("entityName"),

				// the properties below are optional
				CustomProperties: map[string]*string{
					"customPropertiesKey": jsii.String("customProperties"),
				},
				DataTransferApi: &DataTransferApiProperty{
					Name: jsii.String("name"),
					Type: jsii.String("type"),
				},
			},
			Datadog: &DatadogSourcePropertiesProperty{
				Object: jsii.String("object"),
			},
			Dynatrace: &DynatraceSourcePropertiesProperty{
				Object: jsii.String("object"),
			},
			GoogleAnalytics: &GoogleAnalyticsSourcePropertiesProperty{
				Object: jsii.String("object"),
			},
			InforNexus: &InforNexusSourcePropertiesProperty{
				Object: jsii.String("object"),
			},
			Marketo: &MarketoSourcePropertiesProperty{
				Object: jsii.String("object"),
			},
			Pardot: &PardotSourcePropertiesProperty{
				Object: jsii.String("object"),
			},
			S3: &S3SourcePropertiesProperty{
				BucketName: jsii.String("bucketName"),
				BucketPrefix: jsii.String("bucketPrefix"),

				// the properties below are optional
				S3InputFormatConfig: &S3InputFormatConfigProperty{
					S3InputFileType: jsii.String("s3InputFileType"),
				},
			},
			Salesforce: &SalesforceSourcePropertiesProperty{
				Object: jsii.String("object"),

				// the properties below are optional
				DataTransferApi: jsii.String("dataTransferApi"),
				EnableDynamicFieldUpdate: jsii.Boolean(false),
				IncludeDeletedRecords: jsii.Boolean(false),
			},
			SapoData: &SAPODataSourcePropertiesProperty{
				ObjectPath: jsii.String("objectPath"),

				// the properties below are optional
				PaginationConfig: &SAPODataPaginationConfigProperty{
					MaxPageSize: jsii.Number(123),
				},
				ParallelismConfig: &SAPODataParallelismConfigProperty{
					MaxParallelism: jsii.Number(123),
				},
			},
			ServiceNow: &ServiceNowSourcePropertiesProperty{
				Object: jsii.String("object"),
			},
			Singular: &SingularSourcePropertiesProperty{
				Object: jsii.String("object"),
			},
			Slack: &SlackSourcePropertiesProperty{
				Object: jsii.String("object"),
			},
			Trendmicro: &TrendmicroSourcePropertiesProperty{
				Object: jsii.String("object"),
			},
			Veeva: &VeevaSourcePropertiesProperty{
				Object: jsii.String("object"),

				// the properties below are optional
				DocumentType: jsii.String("documentType"),
				IncludeAllVersions: jsii.Boolean(false),
				IncludeRenditions: jsii.Boolean(false),
				IncludeSourceFiles: jsii.Boolean(false),
			},
			Zendesk: &ZendeskSourcePropertiesProperty{
				Object: jsii.String("object"),
			},
		},

		// the properties below are optional
		ApiVersion: jsii.String("apiVersion"),
		ConnectorProfileName: jsii.String("connectorProfileName"),
		IncrementalPullConfig: &IncrementalPullConfigProperty{
			DatetimeTypeFieldName: jsii.String("datetimeTypeFieldName"),
		},
	},
	Tasks: []interface{}{
		&TaskProperty{
			SourceFields: []*string{
				jsii.String("sourceFields"),
			},
			TaskType: jsii.String("taskType"),

			// the properties below are optional
			ConnectorOperator: &ConnectorOperatorProperty{
				Amplitude: jsii.String("amplitude"),
				CustomConnector: jsii.String("customConnector"),
				Datadog: jsii.String("datadog"),
				Dynatrace: jsii.String("dynatrace"),
				GoogleAnalytics: jsii.String("googleAnalytics"),
				InforNexus: jsii.String("inforNexus"),
				Marketo: jsii.String("marketo"),
				Pardot: jsii.String("pardot"),
				S3: jsii.String("s3"),
				Salesforce: jsii.String("salesforce"),
				SapoData: jsii.String("sapoData"),
				ServiceNow: jsii.String("serviceNow"),
				Singular: jsii.String("singular"),
				Slack: jsii.String("slack"),
				Trendmicro: jsii.String("trendmicro"),
				Veeva: jsii.String("veeva"),
				Zendesk: jsii.String("zendesk"),
			},
			DestinationField: jsii.String("destinationField"),
			TaskProperties: []interface{}{
				&TaskPropertiesObjectProperty{
					Key: jsii.String("key"),
					Value: jsii.String("value"),
				},
			},
		},
	},
	TriggerConfig: &TriggerConfigProperty{
		TriggerType: jsii.String("triggerType"),

		// the properties below are optional
		TriggerProperties: &ScheduledTriggerPropertiesProperty{
			ScheduleExpression: jsii.String("scheduleExpression"),

			// the properties below are optional
			DataPullMode: jsii.String("dataPullMode"),
			FirstExecutionFrom: jsii.Number(123),
			FlowErrorDeactivationThreshold: jsii.Number(123),
			ScheduleEndTime: jsii.Number(123),
			ScheduleOffset: jsii.Number(123),
			ScheduleStartTime: jsii.Number(123),
			TimeZone: jsii.String("timeZone"),
		},
	},

	// the properties below are optional
	Description: jsii.String("description"),
	FlowStatus: jsii.String("flowStatus"),
	KmsArn: jsii.String("kmsArn"),
	MetadataCatalogConfig: &MetadataCatalogConfigProperty{
		GlueDataCatalog: &GlueDataCatalogProperty{
			DatabaseName: jsii.String("databaseName"),
			RoleArn: jsii.String("roleArn"),
			TablePrefix: jsii.String("tablePrefix"),
		},
	},
	Tags: []CfnTag{
		&CfnTag{
			Key: jsii.String("key"),
			Value: jsii.String("value"),
		},
	},
}

Properties ​

descriptionoptionalstringdescriptionoptionalstrdescriptionoptionalStringDescriptionoptionalstringDescriptionoptional*string #
A user-entered description of the flow.
destinationFlowConfigListIResolvable | IResolvable | CfnFlow.DestinationFlowConfigProperty[]destination_flow_config_listtyping.Union[IResolvable, typing.List[typing.Union[IResolvable, DestinationFlowConfigProperty]]]destinationFlowConfigListIResolvableDestinationFlowConfigListIResolvableDestinationFlowConfigListinterface{} required #
The configuration that controls how Amazon AppFlow places data in the destination connector.
flowNamestringflow_namestrflowNameStringFlowNamestringFlowName*string required #
The specified name of the flow.

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

flowStatusoptionalstringflow_statusoptionalstrflowStatusoptionalStringFlowStatusoptionalstringFlowStatusoptional*string #
Sets the status of the flow. You can specify one of the following values:.
notes
  • Active - The flow runs based on the trigger settings that you defined. Active scheduled flows run as scheduled, and active event-triggered flows run when the specified change event occurs. However, active on-demand flows run only when you manually start them by using Amazon AppFlow.
  • Suspended - You can use this option to deactivate an active flow. Scheduled and event-triggered flows will cease to run until you reactive them. This value only affects scheduled and event-triggered flows. It has no effect for on-demand flows.

If you omit the FlowStatus parameter, Amazon AppFlow creates the flow with a default status. The default status for on-demand flows is Active. The default status for scheduled and event-triggered flows is Draft, which means they’re not yet active.

kmsArnoptionalstring | IKeyRefkms_arnoptionaltyping.Union[str, IKeyRef]kmsArnoptionalStringKmsArnoptionalstringKmsArnoptionalinterface{} #
The ARN (Amazon Resource Name) of the Key Management Service (KMS) key you provide for encryption.

This is required if you do not want to use the Amazon AppFlow-managed KMS key. If you don't provide anything here, Amazon AppFlow uses the Amazon AppFlow-managed KMS key.

metadataCatalogConfigoptionalIResolvable | CfnFlow.MetadataCatalogConfigPropertymetadata_catalog_configoptionaltyping.Union[IResolvable, MetadataCatalogConfigProperty]metadataCatalogConfigoptionalIResolvableMetadataCatalogConfigoptionalIResolvableMetadataCatalogConfigoptionalinterface{} #
Specifies the configuration that Amazon AppFlow uses when it catalogs your data.

When Amazon AppFlow catalogs your data, it stores metadata in a data catalog.

sourceFlowConfigIResolvable | CfnFlow.SourceFlowConfigPropertysource_flow_configtyping.Union[IResolvable, SourceFlowConfigProperty]sourceFlowConfigIResolvableSourceFlowConfigIResolvableSourceFlowConfiginterface{} required #
Contains information about the configuration of the source connector used in the flow.
tagsoptionalCfnTag[]tagsoptionaltyping.List[CfnTag]tagsoptionalList<CfnTag>TagsoptionalCfnTag[]Tagsoptional*[]CfnTag #
The tags used to organize, track, or control access for your flow.
tasksIResolvable | IResolvable | CfnFlow.TaskProperty[]taskstyping.Union[IResolvable, typing.List[typing.Union[IResolvable, TaskProperty]]]tasksIResolvableTasksIResolvableTasksinterface{} required #
A list of tasks that Amazon AppFlow performs while transferring the data in the flow run.
triggerConfigIResolvable | CfnFlow.TriggerConfigPropertytrigger_configtyping.Union[IResolvable, TriggerConfigProperty]triggerConfigIResolvableTriggerConfigIResolvableTriggerConfiginterface{} required #
The trigger settings that determine how and when Amazon AppFlow runs the specified flow.