CfnFlowMixinProps

class aws_cdk.mixins_preview.aws_appflow.mixins.CfnFlowMixinProps(*, description=None, destination_flow_config_list=None, flow_name=None, flow_status=None, kms_arn=None, metadata_catalog_config=None, source_flow_config=None, tags=None, tasks=None, trigger_config=None)

Bases: object

Properties for CfnFlowPropsMixin.

Parameters:
  • description (Optional[str]) – A user-entered description of the flow.

  • destination_flow_config_list (Union[IResolvable, Sequence[Union[IResolvable, DestinationFlowConfigProperty, Dict[str, Any]]], None]) – The configuration that controls how Amazon AppFlow places data in the destination connector.

  • flow_name (Optional[str]) – The specified name of the flow. Spaces are not allowed. Use underscores (_) or hyphens (-) only.

  • flow_status (Optional[str]) – Sets the status of the flow. You can specify one of the following values:. - 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.

  • kms_arn (Optional[str]) – 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.

  • metadata_catalog_config (Union[IResolvable, MetadataCatalogConfigProperty, Dict[str, Any], None]) – 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.

  • source_flow_config (Union[IResolvable, SourceFlowConfigProperty, Dict[str, Any], None]) – Contains information about the configuration of the source connector used in the flow.

  • tags (Optional[Sequence[Union[CfnTag, Dict[str, Any]]]]) – The tags used to organize, track, or control access for your flow.

  • tasks (Union[IResolvable, Sequence[Union[IResolvable, TaskProperty, Dict[str, Any]]], None]) – A list of tasks that Amazon AppFlow performs while transferring the data in the flow run.

  • trigger_config (Union[IResolvable, TriggerConfigProperty, Dict[str, Any], None]) – The trigger settings that determine how and when Amazon AppFlow runs the specified flow.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appflow-flow.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview.aws_appflow import mixins as appflow_mixins

cfn_flow_mixin_props = appflow_mixins.CfnFlowMixinProps(
    description="description",
    destination_flow_config_list=[appflow_mixins.CfnFlowPropsMixin.DestinationFlowConfigProperty(
        api_version="apiVersion",
        connector_profile_name="connectorProfileName",
        connector_type="connectorType",
        destination_connector_properties=appflow_mixins.CfnFlowPropsMixin.DestinationConnectorPropertiesProperty(
            custom_connector=appflow_mixins.CfnFlowPropsMixin.CustomConnectorDestinationPropertiesProperty(
                custom_properties={
                    "custom_properties_key": "customProperties"
                },
                entity_name="entityName",
                error_handling_config=appflow_mixins.CfnFlowPropsMixin.ErrorHandlingConfigProperty(
                    bucket_name="bucketName",
                    bucket_prefix="bucketPrefix",
                    fail_on_first_error=False
                ),
                id_field_names=["idFieldNames"],
                write_operation_type="writeOperationType"
            ),
            event_bridge=appflow_mixins.CfnFlowPropsMixin.EventBridgeDestinationPropertiesProperty(
                error_handling_config=appflow_mixins.CfnFlowPropsMixin.ErrorHandlingConfigProperty(
                    bucket_name="bucketName",
                    bucket_prefix="bucketPrefix",
                    fail_on_first_error=False
                ),
                object="object"
            ),
            lookout_metrics=appflow_mixins.CfnFlowPropsMixin.LookoutMetricsDestinationPropertiesProperty(
                object="object"
            ),
            marketo=appflow_mixins.CfnFlowPropsMixin.MarketoDestinationPropertiesProperty(
                error_handling_config=appflow_mixins.CfnFlowPropsMixin.ErrorHandlingConfigProperty(
                    bucket_name="bucketName",
                    bucket_prefix="bucketPrefix",
                    fail_on_first_error=False
                ),
                object="object"
            ),
            redshift=appflow_mixins.CfnFlowPropsMixin.RedshiftDestinationPropertiesProperty(
                bucket_prefix="bucketPrefix",
                error_handling_config=appflow_mixins.CfnFlowPropsMixin.ErrorHandlingConfigProperty(
                    bucket_name="bucketName",
                    bucket_prefix="bucketPrefix",
                    fail_on_first_error=False
                ),
                intermediate_bucket_name="intermediateBucketName",
                object="object"
            ),
            s3=appflow_mixins.CfnFlowPropsMixin.S3DestinationPropertiesProperty(
                bucket_name="bucketName",
                bucket_prefix="bucketPrefix",
                s3_output_format_config=appflow_mixins.CfnFlowPropsMixin.S3OutputFormatConfigProperty(
                    aggregation_config=appflow_mixins.CfnFlowPropsMixin.AggregationConfigProperty(
                        aggregation_type="aggregationType",
                        target_file_size=123
                    ),
                    file_type="fileType",
                    prefix_config=appflow_mixins.CfnFlowPropsMixin.PrefixConfigProperty(
                        path_prefix_hierarchy=["pathPrefixHierarchy"],
                        prefix_format="prefixFormat",
                        prefix_type="prefixType"
                    ),
                    preserve_source_data_typing=False
                )
            ),
            salesforce=appflow_mixins.CfnFlowPropsMixin.SalesforceDestinationPropertiesProperty(
                data_transfer_api="dataTransferApi",
                error_handling_config=appflow_mixins.CfnFlowPropsMixin.ErrorHandlingConfigProperty(
                    bucket_name="bucketName",
                    bucket_prefix="bucketPrefix",
                    fail_on_first_error=False
                ),
                id_field_names=["idFieldNames"],
                object="object",
                write_operation_type="writeOperationType"
            ),
            sapo_data=appflow_mixins.CfnFlowPropsMixin.SAPODataDestinationPropertiesProperty(
                error_handling_config=appflow_mixins.CfnFlowPropsMixin.ErrorHandlingConfigProperty(
                    bucket_name="bucketName",
                    bucket_prefix="bucketPrefix",
                    fail_on_first_error=False
                ),
                id_field_names=["idFieldNames"],
                object_path="objectPath",
                success_response_handling_config=appflow_mixins.CfnFlowPropsMixin.SuccessResponseHandlingConfigProperty(
                    bucket_name="bucketName",
                    bucket_prefix="bucketPrefix"
                ),
                write_operation_type="writeOperationType"
            ),
            snowflake=appflow_mixins.CfnFlowPropsMixin.SnowflakeDestinationPropertiesProperty(
                bucket_prefix="bucketPrefix",
                error_handling_config=appflow_mixins.CfnFlowPropsMixin.ErrorHandlingConfigProperty(
                    bucket_name="bucketName",
                    bucket_prefix="bucketPrefix",
                    fail_on_first_error=False
                ),
                intermediate_bucket_name="intermediateBucketName",
                object="object"
            ),
            upsolver=appflow_mixins.CfnFlowPropsMixin.UpsolverDestinationPropertiesProperty(
                bucket_name="bucketName",
                bucket_prefix="bucketPrefix",
                s3_output_format_config=appflow_mixins.CfnFlowPropsMixin.UpsolverS3OutputFormatConfigProperty(
                    aggregation_config=appflow_mixins.CfnFlowPropsMixin.AggregationConfigProperty(
                        aggregation_type="aggregationType",
                        target_file_size=123
                    ),
                    file_type="fileType",
                    prefix_config=appflow_mixins.CfnFlowPropsMixin.PrefixConfigProperty(
                        path_prefix_hierarchy=["pathPrefixHierarchy"],
                        prefix_format="prefixFormat",
                        prefix_type="prefixType"
                    )
                )
            ),
            zendesk=appflow_mixins.CfnFlowPropsMixin.ZendeskDestinationPropertiesProperty(
                error_handling_config=appflow_mixins.CfnFlowPropsMixin.ErrorHandlingConfigProperty(
                    bucket_name="bucketName",
                    bucket_prefix="bucketPrefix",
                    fail_on_first_error=False
                ),
                id_field_names=["idFieldNames"],
                object="object",
                write_operation_type="writeOperationType"
            )
        )
    )],
    flow_name="flowName",
    flow_status="flowStatus",
    kms_arn="kmsArn",
    metadata_catalog_config=appflow_mixins.CfnFlowPropsMixin.MetadataCatalogConfigProperty(
        glue_data_catalog=appflow_mixins.CfnFlowPropsMixin.GlueDataCatalogProperty(
            database_name="databaseName",
            role_arn="roleArn",
            table_prefix="tablePrefix"
        )
    ),
    source_flow_config=appflow_mixins.CfnFlowPropsMixin.SourceFlowConfigProperty(
        api_version="apiVersion",
        connector_profile_name="connectorProfileName",
        connector_type="connectorType",
        incremental_pull_config=appflow_mixins.CfnFlowPropsMixin.IncrementalPullConfigProperty(
            datetime_type_field_name="datetimeTypeFieldName"
        ),
        source_connector_properties=appflow_mixins.CfnFlowPropsMixin.SourceConnectorPropertiesProperty(
            amplitude=appflow_mixins.CfnFlowPropsMixin.AmplitudeSourcePropertiesProperty(
                object="object"
            ),
            custom_connector=appflow_mixins.CfnFlowPropsMixin.CustomConnectorSourcePropertiesProperty(
                custom_properties={
                    "custom_properties_key": "customProperties"
                },
                data_transfer_api=appflow_mixins.CfnFlowPropsMixin.DataTransferApiProperty(
                    name="name",
                    type="type"
                ),
                entity_name="entityName"
            ),
            datadog=appflow_mixins.CfnFlowPropsMixin.DatadogSourcePropertiesProperty(
                object="object"
            ),
            dynatrace=appflow_mixins.CfnFlowPropsMixin.DynatraceSourcePropertiesProperty(
                object="object"
            ),
            google_analytics=appflow_mixins.CfnFlowPropsMixin.GoogleAnalyticsSourcePropertiesProperty(
                object="object"
            ),
            infor_nexus=appflow_mixins.CfnFlowPropsMixin.InforNexusSourcePropertiesProperty(
                object="object"
            ),
            marketo=appflow_mixins.CfnFlowPropsMixin.MarketoSourcePropertiesProperty(
                object="object"
            ),
            pardot=appflow_mixins.CfnFlowPropsMixin.PardotSourcePropertiesProperty(
                object="object"
            ),
            s3=appflow_mixins.CfnFlowPropsMixin.S3SourcePropertiesProperty(
                bucket_name="bucketName",
                bucket_prefix="bucketPrefix",
                s3_input_format_config=appflow_mixins.CfnFlowPropsMixin.S3InputFormatConfigProperty(
                    s3_input_file_type="s3InputFileType"
                )
            ),
            salesforce=appflow_mixins.CfnFlowPropsMixin.SalesforceSourcePropertiesProperty(
                data_transfer_api="dataTransferApi",
                enable_dynamic_field_update=False,
                include_deleted_records=False,
                object="object"
            ),
            sapo_data=appflow_mixins.CfnFlowPropsMixin.SAPODataSourcePropertiesProperty(
                object_path="objectPath",
                pagination_config=appflow_mixins.CfnFlowPropsMixin.SAPODataPaginationConfigProperty(
                    max_page_size=123
                ),
                parallelism_config=appflow_mixins.CfnFlowPropsMixin.SAPODataParallelismConfigProperty(
                    max_parallelism=123
                )
            ),
            service_now=appflow_mixins.CfnFlowPropsMixin.ServiceNowSourcePropertiesProperty(
                object="object"
            ),
            singular=appflow_mixins.CfnFlowPropsMixin.SingularSourcePropertiesProperty(
                object="object"
            ),
            slack=appflow_mixins.CfnFlowPropsMixin.SlackSourcePropertiesProperty(
                object="object"
            ),
            trendmicro=appflow_mixins.CfnFlowPropsMixin.TrendmicroSourcePropertiesProperty(
                object="object"
            ),
            veeva=appflow_mixins.CfnFlowPropsMixin.VeevaSourcePropertiesProperty(
                document_type="documentType",
                include_all_versions=False,
                include_renditions=False,
                include_source_files=False,
                object="object"
            ),
            zendesk=appflow_mixins.CfnFlowPropsMixin.ZendeskSourcePropertiesProperty(
                object="object"
            )
        )
    ),
    tags=[CfnTag(
        key="key",
        value="value"
    )],
    tasks=[appflow_mixins.CfnFlowPropsMixin.TaskProperty(
        connector_operator=appflow_mixins.CfnFlowPropsMixin.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",
        source_fields=["sourceFields"],
        task_properties=[appflow_mixins.CfnFlowPropsMixin.TaskPropertiesObjectProperty(
            key="key",
            value="value"
        )],
        task_type="taskType"
    )],
    trigger_config=appflow_mixins.CfnFlowPropsMixin.TriggerConfigProperty(
        trigger_properties=appflow_mixins.CfnFlowPropsMixin.ScheduledTriggerPropertiesProperty(
            data_pull_mode="dataPullMode",
            first_execution_from=123,
            flow_error_deactivation_threshold=123,
            schedule_end_time=123,
            schedule_expression="scheduleExpression",
            schedule_offset=123,
            schedule_start_time=123,
            time_zone="timeZone"
        ),
        trigger_type="triggerType"
    )
)

Attributes

description

A user-entered description of the flow.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appflow-flow.html#cfn-appflow-flow-description

destination_flow_config_list

The configuration that controls how Amazon AppFlow places data in the destination connector.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appflow-flow.html#cfn-appflow-flow-destinationflowconfiglist

flow_name

The specified name of the flow.

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

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appflow-flow.html#cfn-appflow-flow-flowname

flow_status

.

  • 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.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appflow-flow.html#cfn-appflow-flow-flowstatus

Type:

Sets the status of the flow. You can specify one of the following values

kms_arn

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.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appflow-flow.html#cfn-appflow-flow-kmsarn

metadata_catalog_config

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.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appflow-flow.html#cfn-appflow-flow-metadatacatalogconfig

source_flow_config

Contains information about the configuration of the source connector used in the flow.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appflow-flow.html#cfn-appflow-flow-sourceflowconfig

tags

The tags used to organize, track, or control access for your flow.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appflow-flow.html#cfn-appflow-flow-tags

tasks

A list of tasks that Amazon AppFlow performs while transferring the data in the flow run.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appflow-flow.html#cfn-appflow-flow-tasks

trigger_config

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

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appflow-flow.html#cfn-appflow-flow-triggerconfig