Skip to content

Interface: ParsedAddress

Pieces recovered from parsing a single address or resource-path input.

optional branch?: string

Branch id within the project. Defaults to the project’s default branch.

LakebaseConnectionInputs.branch


optional database?: string

Postgres database name (PGDATABASE). Defaults to databricks_postgres.

LakebaseConnectionInputs.database


optional databaseResourceId?: string

Database resource id leaf from a .../databases/{id} path. Not the Postgres database name.


optional endpoint?: string

Canonical endpoint resource path (projects/.../endpoints/...), from LAKEBASE_ENDPOINT. Defaults to the branch’s read-write endpoint.

LakebaseConnectionInputs.endpoint


optional endpointId?: string

Endpoint leaf id (last segment of an endpoint resource path).


optional host?: string

Postgres hostname (PGHOST). Defaults to the resolved endpoint’s host.

LakebaseConnectionInputs.host


optional port?: number

Postgres port (PGPORT). Defaults to 5432.

LakebaseConnectionInputs.port


optional project?: string

Lakebase project id. Resolved from the workspace when unset.

LakebaseConnectionInputs.project


optional sslMode?: "require" | "disable" | "prefer"

Postgres TLS mode (PGSSLMODE). Defaults to require.

LakebaseConnectionInputs.sslMode


optional user?: string

Postgres user (URI-decoded if encoded).