You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::Appflow::Types::DestinationFlowConfig

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing DestinationFlowConfig as input to an Aws::Client method, you can use a vanilla Hash:

{
  connector_type: "Salesforce", # required, accepts Salesforce, Singular, Slack, Redshift, S3, Marketo, Googleanalytics, Zendesk, Servicenow, Datadog, Trendmicro, Snowflake, Dynatrace, Infornexus, Amplitude, Veeva, EventBridge
  connector_profile_name: "ConnectorProfileName",
  destination_connector_properties: { # required
    redshift: {
      object: "Object", # required
      intermediate_bucket_name: "BucketName", # required
      bucket_prefix: "BucketPrefix",
      error_handling_config: {
        fail_on_first_destination_error: false,
        bucket_prefix: "BucketPrefix",
        bucket_name: "BucketName",
      },
    },
    s3: {
      bucket_name: "BucketName", # required
      bucket_prefix: "BucketPrefix",
      s3_output_format_config: {
        file_type: "CSV", # accepts CSV, JSON, PARQUET
        prefix_config: {
          prefix_type: "FILENAME", # accepts FILENAME, PATH, PATH_AND_FILENAME
          prefix_format: "YEAR", # accepts YEAR, MONTH, DAY, HOUR, MINUTE
        },
        aggregation_config: {
          aggregation_type: "None", # accepts None, SingleFile
        },
      },
    },
    salesforce: {
      object: "Object", # required
      id_field_names: ["Name"],
      error_handling_config: {
        fail_on_first_destination_error: false,
        bucket_prefix: "BucketPrefix",
        bucket_name: "BucketName",
      },
      write_operation_type: "INSERT", # accepts INSERT, UPSERT, UPDATE
    },
    snowflake: {
      object: "Object", # required
      intermediate_bucket_name: "BucketName", # required
      bucket_prefix: "BucketPrefix",
      error_handling_config: {
        fail_on_first_destination_error: false,
        bucket_prefix: "BucketPrefix",
        bucket_name: "BucketName",
      },
    },
    event_bridge: {
      object: "Object", # required
      error_handling_config: {
        fail_on_first_destination_error: false,
        bucket_prefix: "BucketPrefix",
        bucket_name: "BucketName",
      },
    },
  },
}

Contains information about the configuration of destination connectors present in the flow.

Instance Attribute Summary collapse

Instance Attribute Details

#connector_profile_nameString

The name of the connector profile. This name must be unique for each connector profile in the AWS account.

Returns:

  • (String)

    The name of the connector profile.

#connector_typeString

The type of connector, such as Salesforce, Amplitude, and so on.

Possible values:

  • Salesforce
  • Singular
  • Slack
  • Redshift
  • S3
  • Marketo
  • Googleanalytics
  • Zendesk
  • Servicenow
  • Datadog
  • Trendmicro
  • Snowflake
  • Dynatrace
  • Infornexus
  • Amplitude
  • Veeva
  • EventBridge

Returns:

  • (String)

    The type of connector, such as Salesforce, Amplitude, and so on.

#destination_connector_propertiesTypes::DestinationConnectorProperties

This stores the information that is required to query a particular connector.

Returns: