--- # generated by https://github.com/hashicorp/terraform-plugin-docs page_title: "awscc_appflow_flow Resource - terraform-provider-awscc" subcategory: "" description: |- Resource schema for AWS::AppFlow::Flow. --- # awscc_appflow_flow (Resource) Resource schema for AWS::AppFlow::Flow. ## Schema ### Required - `destination_flow_config_list` (Attributes List) List of Destination connectors of the flow. (see [below for nested schema](#nestedatt--destination_flow_config_list)) - `flow_name` (String) Name of the flow. - `source_flow_config` (Attributes) Configurations of Source connector of the flow. (see [below for nested schema](#nestedatt--source_flow_config)) - `tasks` (Attributes List) List of tasks for the flow. (see [below for nested schema](#nestedatt--tasks)) - `trigger_config` (Attributes) Trigger settings of the flow. (see [below for nested schema](#nestedatt--trigger_config)) ### Optional - `description` (String) Description of the flow. - `kms_arn` (String) The ARN of the AWS Key Management Service (AWS KMS) key that's used to encrypt your function's environment variables. If it's not provided, AWS Lambda uses a default service key. - `tags` (Attributes List) List of Tags. (see [below for nested schema](#nestedatt--tags)) ### Read-Only - `flow_arn` (String) ARN identifier of the flow. - `id` (String) Uniquely identifies the resource. ### Nested Schema for `destination_flow_config_list` Required: - `connector_profile_name` (String) Name of destination connector profile - `connector_type` (String) Destination connector type - `destination_connector_properties` (Attributes) Destination connector details (see [below for nested schema](#nestedatt--destination_flow_config_list--destination_connector_properties)) ### Nested Schema for `destination_flow_config_list.destination_connector_properties` Required: - `event_bridge` (Attributes) (see [below for nested schema](#nestedatt--destination_flow_config_list--destination_connector_properties--event_bridge)) - `lookout_metrics` (Attributes) (see [below for nested schema](#nestedatt--destination_flow_config_list--destination_connector_properties--lookout_metrics)) - `marketo` (Attributes) (see [below for nested schema](#nestedatt--destination_flow_config_list--destination_connector_properties--marketo)) - `redshift` (Attributes) (see [below for nested schema](#nestedatt--destination_flow_config_list--destination_connector_properties--redshift)) - `s3` (Attributes) (see [below for nested schema](#nestedatt--destination_flow_config_list--destination_connector_properties--s3)) - `salesforce` (Attributes) (see [below for nested schema](#nestedatt--destination_flow_config_list--destination_connector_properties--salesforce)) - `sapo_data` (Attributes) (see [below for nested schema](#nestedatt--destination_flow_config_list--destination_connector_properties--sapo_data)) - `snowflake` (Attributes) (see [below for nested schema](#nestedatt--destination_flow_config_list--destination_connector_properties--snowflake)) - `upsolver` (Attributes) (see [below for nested schema](#nestedatt--destination_flow_config_list--destination_connector_properties--upsolver)) - `zendesk` (Attributes) (see [below for nested schema](#nestedatt--destination_flow_config_list--destination_connector_properties--zendesk)) ### Nested Schema for `destination_flow_config_list.destination_connector_properties.event_bridge` Required: - `error_handling_config` (Attributes) (see [below for nested schema](#nestedatt--destination_flow_config_list--destination_connector_properties--event_bridge--error_handling_config)) - `object` (String) ### Nested Schema for `destination_flow_config_list.destination_connector_properties.event_bridge.object` Required: - `bucket_name` (String) - `bucket_prefix` (String) - `fail_on_first_error` (Boolean) ### Nested Schema for `destination_flow_config_list.destination_connector_properties.lookout_metrics` Required: - `object` (String) ### Nested Schema for `destination_flow_config_list.destination_connector_properties.marketo` Required: - `error_handling_config` (Attributes) (see [below for nested schema](#nestedatt--destination_flow_config_list--destination_connector_properties--marketo--error_handling_config)) - `object` (String) ### Nested Schema for `destination_flow_config_list.destination_connector_properties.marketo.object` Required: - `bucket_name` (String) - `bucket_prefix` (String) - `fail_on_first_error` (Boolean) ### Nested Schema for `destination_flow_config_list.destination_connector_properties.redshift` Required: - `bucket_prefix` (String) - `error_handling_config` (Attributes) (see [below for nested schema](#nestedatt--destination_flow_config_list--destination_connector_properties--redshift--error_handling_config)) - `intermediate_bucket_name` (String) - `object` (String) ### Nested Schema for `destination_flow_config_list.destination_connector_properties.redshift.object` Required: - `bucket_name` (String) - `bucket_prefix` (String) - `fail_on_first_error` (Boolean) ### Nested Schema for `destination_flow_config_list.destination_connector_properties.s3` Required: - `bucket_name` (String) - `bucket_prefix` (String) - `s3_output_format_config` (Attributes) (see [below for nested schema](#nestedatt--destination_flow_config_list--destination_connector_properties--s3--s3_output_format_config)) ### Nested Schema for `destination_flow_config_list.destination_connector_properties.s3.s3_output_format_config` Required: - `aggregation_config` (Attributes) (see [below for nested schema](#nestedatt--destination_flow_config_list--destination_connector_properties--s3--s3_output_format_config--aggregation_config)) - `file_type` (String) - `prefix_config` (Attributes) (see [below for nested schema](#nestedatt--destination_flow_config_list--destination_connector_properties--s3--s3_output_format_config--prefix_config)) ### Nested Schema for `destination_flow_config_list.destination_connector_properties.s3.s3_output_format_config.aggregation_config` Required: - `aggregation_type` (String) ### Nested Schema for `destination_flow_config_list.destination_connector_properties.s3.s3_output_format_config.prefix_config` Required: - `prefix_format` (String) - `prefix_type` (String) ### Nested Schema for `destination_flow_config_list.destination_connector_properties.salesforce` Required: - `error_handling_config` (Attributes) (see [below for nested schema](#nestedatt--destination_flow_config_list--destination_connector_properties--salesforce--error_handling_config)) - `id_field_names` (List of String) List of fields used as ID when performing a write operation. - `object` (String) - `write_operation_type` (String) ### Nested Schema for `destination_flow_config_list.destination_connector_properties.salesforce.write_operation_type` Required: - `bucket_name` (String) - `bucket_prefix` (String) - `fail_on_first_error` (Boolean) ### Nested Schema for `destination_flow_config_list.destination_connector_properties.sapo_data` Required: - `error_handling_config` (Attributes) (see [below for nested schema](#nestedatt--destination_flow_config_list--destination_connector_properties--sapo_data--error_handling_config)) - `id_field_names` (List of String) List of fields used as ID when performing a write operation. - `object_path` (String) - `success_response_handling_config` (Attributes) (see [below for nested schema](#nestedatt--destination_flow_config_list--destination_connector_properties--sapo_data--success_response_handling_config)) - `write_operation_type` (String) ### Nested Schema for `destination_flow_config_list.destination_connector_properties.sapo_data.write_operation_type` Required: - `bucket_name` (String) - `bucket_prefix` (String) - `fail_on_first_error` (Boolean) ### Nested Schema for `destination_flow_config_list.destination_connector_properties.sapo_data.write_operation_type` Required: - `bucket_name` (String) - `bucket_prefix` (String) ### Nested Schema for `destination_flow_config_list.destination_connector_properties.snowflake` Required: - `bucket_prefix` (String) - `error_handling_config` (Attributes) (see [below for nested schema](#nestedatt--destination_flow_config_list--destination_connector_properties--snowflake--error_handling_config)) - `intermediate_bucket_name` (String) - `object` (String) ### Nested Schema for `destination_flow_config_list.destination_connector_properties.snowflake.object` Required: - `bucket_name` (String) - `bucket_prefix` (String) - `fail_on_first_error` (Boolean) ### Nested Schema for `destination_flow_config_list.destination_connector_properties.upsolver` Required: - `bucket_name` (String) - `bucket_prefix` (String) - `s3_output_format_config` (Attributes) (see [below for nested schema](#nestedatt--destination_flow_config_list--destination_connector_properties--upsolver--s3_output_format_config)) ### Nested Schema for `destination_flow_config_list.destination_connector_properties.upsolver.s3_output_format_config` Required: - `aggregation_config` (Attributes) (see [below for nested schema](#nestedatt--destination_flow_config_list--destination_connector_properties--upsolver--s3_output_format_config--aggregation_config)) - `file_type` (String) - `prefix_config` (Attributes) (see [below for nested schema](#nestedatt--destination_flow_config_list--destination_connector_properties--upsolver--s3_output_format_config--prefix_config)) ### Nested Schema for `destination_flow_config_list.destination_connector_properties.upsolver.s3_output_format_config.aggregation_config` Required: - `aggregation_type` (String) ### Nested Schema for `destination_flow_config_list.destination_connector_properties.upsolver.s3_output_format_config.prefix_config` Required: - `prefix_format` (String) - `prefix_type` (String) ### Nested Schema for `destination_flow_config_list.destination_connector_properties.zendesk` Required: - `error_handling_config` (Attributes) (see [below for nested schema](#nestedatt--destination_flow_config_list--destination_connector_properties--zendesk--error_handling_config)) - `id_field_names` (List of String) List of fields used as ID when performing a write operation. - `object` (String) - `write_operation_type` (String) ### Nested Schema for `destination_flow_config_list.destination_connector_properties.zendesk.write_operation_type` Required: - `bucket_name` (String) - `bucket_prefix` (String) - `fail_on_first_error` (Boolean) ### Nested Schema for `source_flow_config` Required: - `connector_profile_name` (String) Name of source connector profile - `connector_type` (String) Type of source connector - `incremental_pull_config` (Attributes) Configuration for scheduled incremental data pull (see [below for nested schema](#nestedatt--source_flow_config--incremental_pull_config)) - `source_connector_properties` (Attributes) Source connector details required to query a connector (see [below for nested schema](#nestedatt--source_flow_config--source_connector_properties)) ### Nested Schema for `source_flow_config.incremental_pull_config` Required: - `datetime_type_field_name` (String) Name of the datetime/timestamp data type field to be used for importing incremental records from the source ### Nested Schema for `source_flow_config.source_connector_properties` Required: - `amplitude` (Attributes) (see [below for nested schema](#nestedatt--source_flow_config--source_connector_properties--amplitude)) - `datadog` (Attributes) (see [below for nested schema](#nestedatt--source_flow_config--source_connector_properties--datadog)) - `dynatrace` (Attributes) (see [below for nested schema](#nestedatt--source_flow_config--source_connector_properties--dynatrace)) - `google_analytics` (Attributes) (see [below for nested schema](#nestedatt--source_flow_config--source_connector_properties--google_analytics)) - `infor_nexus` (Attributes) (see [below for nested schema](#nestedatt--source_flow_config--source_connector_properties--infor_nexus)) - `marketo` (Attributes) (see [below for nested schema](#nestedatt--source_flow_config--source_connector_properties--marketo)) - `s3` (Attributes) (see [below for nested schema](#nestedatt--source_flow_config--source_connector_properties--s3)) - `salesforce` (Attributes) (see [below for nested schema](#nestedatt--source_flow_config--source_connector_properties--salesforce)) - `sapo_data` (Attributes) (see [below for nested schema](#nestedatt--source_flow_config--source_connector_properties--sapo_data)) - `service_now` (Attributes) (see [below for nested schema](#nestedatt--source_flow_config--source_connector_properties--service_now)) - `singular` (Attributes) (see [below for nested schema](#nestedatt--source_flow_config--source_connector_properties--singular)) - `slack` (Attributes) (see [below for nested schema](#nestedatt--source_flow_config--source_connector_properties--slack)) - `trendmicro` (Attributes) (see [below for nested schema](#nestedatt--source_flow_config--source_connector_properties--trendmicro)) - `veeva` (Attributes) (see [below for nested schema](#nestedatt--source_flow_config--source_connector_properties--veeva)) - `zendesk` (Attributes) (see [below for nested schema](#nestedatt--source_flow_config--source_connector_properties--zendesk)) ### Nested Schema for `source_flow_config.source_connector_properties.amplitude` Required: - `object` (String) ### Nested Schema for `source_flow_config.source_connector_properties.datadog` Required: - `object` (String) ### Nested Schema for `source_flow_config.source_connector_properties.dynatrace` Required: - `object` (String) ### Nested Schema for `source_flow_config.source_connector_properties.google_analytics` Required: - `object` (String) ### Nested Schema for `source_flow_config.source_connector_properties.infor_nexus` Required: - `object` (String) ### Nested Schema for `source_flow_config.source_connector_properties.marketo` Required: - `object` (String) ### Nested Schema for `source_flow_config.source_connector_properties.s3` Required: - `bucket_name` (String) - `bucket_prefix` (String) - `s3_input_format_config` (Attributes) (see [below for nested schema](#nestedatt--source_flow_config--source_connector_properties--s3--s3_input_format_config)) ### Nested Schema for `source_flow_config.source_connector_properties.s3.s3_input_format_config` Required: - `s3_input_file_type` (String) ### Nested Schema for `source_flow_config.source_connector_properties.salesforce` Required: - `enable_dynamic_field_update` (Boolean) - `include_deleted_records` (Boolean) - `object` (String) ### Nested Schema for `source_flow_config.source_connector_properties.sapo_data` Required: - `object_path` (String) ### Nested Schema for `source_flow_config.source_connector_properties.service_now` Required: - `object` (String) ### Nested Schema for `source_flow_config.source_connector_properties.singular` Required: - `object` (String) ### Nested Schema for `source_flow_config.source_connector_properties.slack` Required: - `object` (String) ### Nested Schema for `source_flow_config.source_connector_properties.trendmicro` Required: - `object` (String) ### Nested Schema for `source_flow_config.source_connector_properties.veeva` Required: - `document_type` (String) - `include_all_versions` (Boolean) - `include_renditions` (Boolean) - `include_source_files` (Boolean) - `object` (String) ### Nested Schema for `source_flow_config.source_connector_properties.zendesk` Required: - `object` (String) ### Nested Schema for `tasks` Required: - `connector_operator` (Attributes) Operation to be performed on provided source fields (see [below for nested schema](#nestedatt--tasks--connector_operator)) - `destination_field` (String) A field value on which source field should be validated - `source_fields` (List of String) Source fields on which particular task will be applied - `task_properties` (Attributes List) A Map used to store task related info (see [below for nested schema](#nestedatt--tasks--task_properties)) - `task_type` (String) Type of task ### Nested Schema for `tasks.connector_operator` Required: - `amplitude` (String) - `datadog` (String) - `dynatrace` (String) - `google_analytics` (String) - `infor_nexus` (String) - `marketo` (String) - `s3` (String) - `salesforce` (String) - `sapo_data` (String) - `service_now` (String) - `singular` (String) - `slack` (String) - `trendmicro` (String) - `veeva` (String) - `zendesk` (String) ### Nested Schema for `tasks.task_properties` Required: - `key` (String) - `value` (String) ### Nested Schema for `trigger_config` Required: - `trigger_properties` (Attributes) Details required based on the type of trigger (see [below for nested schema](#nestedatt--trigger_config--trigger_properties)) - `trigger_type` (String) Trigger type of the flow ### Nested Schema for `trigger_config.trigger_properties` Required: - `data_pull_mode` (String) - `schedule_end_time` (Number) - `schedule_expression` (String) - `schedule_offset` (Number) - `schedule_start_time` (Number) - `time_zone` (String) ### Nested Schema for `tags` Optional: - `key` (String) A string used to identify this tag - `value` (String) A string containing the value for the tag ## Import Import is supported using the following syntax: ```shell $ terraform import awscc_appflow_flow.example ```