Skip to main content
inputCreateWarehouseConnectionInput

Fields

scope

Who uses the connection.

environmentSlug
String

The slug of the scheduler or agent environment. Required for SCHEDULER and AGENT; production names the default scheduler environment when no environment has that slug. Left out for DEVELOPMENT_SHARED and COST.

connectionId
String
default:"default"

The connection's id within its environment. An environment can hold several connections; the first is default. A COST connection's is always default.

name
String

A name for the connection. Required; not used by COST.

targetName
String

The dbt target name runs see. Required; not used by COST.

threads
Int

How many threads dbt runs with. Required; not used by COST, and set by each user for DEVELOPMENT_SHARED.

adapter

The warehouse settings.