Skip to content

Latest commit

 

History

History
128 lines (95 loc) · 5.07 KB

source_snapchat_marketing.md

File metadata and controls

128 lines (95 loc) · 5.07 KB
page_title subcategory description
airbyte_source_snapchat_marketing Resource - terraform-provider-airbyte
SourceSnapchatMarketing Resource

airbyte_source_snapchat_marketing (Resource)

SourceSnapchatMarketing Resource

Example Usage

resource "airbyte_source_snapchat_marketing" "my_source_snapchatmarketing" {
  configuration = {
    action_report_time = "impression"
    ad_account_ids = [
      "{ \"see\": \"documentation\" }"
    ]
    client_id     = "...my_client_id..."
    client_secret = "...my_client_secret..."
    end_date      = "2022-01-30"
    organization_ids = [
      "{ \"see\": \"documentation\" }"
    ]
    refresh_token               = "...my_refresh_token..."
    start_date                  = "2022-01-01"
    swipe_up_attribution_window = "7_DAY"
    view_attribution_window     = "1_HOUR"
  }
  definition_id = "1299fa04-4937-407e-99e4-bc441ad499f0"
  name          = "...my_name..."
  secret_id     = "...my_secret_id..."
  workspace_id  = "a5e72bda-13a9-4a82-ab4d-94fe6a570980"
}

Schema

Required

  • configuration (Attributes) (see below for nested schema)
  • name (String) Name of the source e.g. dev-mysql-instance.
  • workspace_id (String)

Optional

  • definition_id (String) The UUID of the connector definition. One of configuration.sourceType or definitionId must be provided. Requires replacement if changed.
  • secret_id (String) Optional secretID obtained through the public API OAuth redirect flow. Requires replacement if changed.

Read-Only

  • created_at (Number)
  • resource_allocation (Attributes) actor or actor definition specific resource requirements. if default is set, these are the requirements that should be set for ALL jobs run for this actor definition. it is overriden by the job type specific configurations. if not set, the platform will use defaults. these values will be overriden by configuration at the connection level. (see below for nested schema)
  • source_id (String)
  • source_type (String)

Nested Schema for configuration

Required:

  • client_id (String, Sensitive) The Client ID of your Snapchat developer application.
  • client_secret (String, Sensitive) The Client Secret of your Snapchat developer application.
  • refresh_token (String, Sensitive) Refresh Token to renew the expired Access Token.

Optional:

  • action_report_time (String) Specifies the principle for conversion reporting. Default: "conversion"; must be one of ["conversion", "impression"]
  • ad_account_ids (List of String) Ad Account IDs of the ad accounts to retrieve
  • end_date (String) Date in the format 2017-01-25. Any data after this date will not be replicated.
  • organization_ids (List of String) The IDs of the organizations to retrieve
  • start_date (String) Date in the format 2022-01-01. Any data before this date will not be replicated. Default: "2022-01-01"
  • swipe_up_attribution_window (String) Attribution window for swipe ups. Default: "28_DAY"; must be one of ["1_DAY", "7_DAY", "28_DAY"]
  • view_attribution_window (String) Attribution window for views. Default: "1_DAY"; must be one of ["1_HOUR", "3_HOUR", "6_HOUR", "1_DAY", "7_DAY"]

Nested Schema for resource_allocation

Read-Only:

Nested Schema for resource_allocation.default

Read-Only:

  • cpu_limit (String)
  • cpu_request (String)
  • ephemeral_storage_limit (String)
  • ephemeral_storage_request (String)
  • memory_limit (String)
  • memory_request (String)

Nested Schema for resource_allocation.job_specific

Read-Only:

  • job_type (String) enum that describes the different types of jobs that the platform runs. must be one of ["get_spec", "check_connection", "discover_schema", "sync", "reset_connection", "connection_updater", "replicate"]
  • resource_requirements (Attributes) optional resource requirements to run workers (blank for unbounded allocations) (see below for nested schema)

Nested Schema for resource_allocation.job_specific.resource_requirements

Read-Only:

  • cpu_limit (String)
  • cpu_request (String)
  • ephemeral_storage_limit (String)
  • ephemeral_storage_request (String)
  • memory_limit (String)
  • memory_request (String)

Import

Import is supported using the following syntax:

terraform import airbyte_source_snapchat_marketing.my_airbyte_source_snapchat_marketing ""