Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

PostgresqlProfile

import type { PostgresqlProfile } from "https://googleapis.deno.dev/v1/datastream:v1.ts";

PostgreSQL database profile.

interface PostgresqlProfile {
database?: string;
hostname?: string;
password?: string;
port?: number;
secretManagerStoredPassword?: string;
sslConfig?: PostgresqlSslConfig;
username?: string;
}

§Properties

§
database?: string
[src]

Required. Database for the PostgreSQL connection.

§
hostname?: string
[src]

Required. Hostname for the PostgreSQL connection.

§
password?: string
[src]

Optional. Password for the PostgreSQL connection. Mutually exclusive with the secret_manager_stored_password field.

§
port?: number
[src]

Port for the PostgreSQL connection, default value is 5432.

§
secretManagerStoredPassword?: string
[src]

Optional. A reference to a Secret Manager resource name storing the PostgreSQL connection password. Mutually exclusive with the password field.

§

Optional. SSL configuration for the PostgreSQL connection. In case PostgresqlSslConfig is not set, the connection will use the default SSL mode, which is prefer (i.e. this mode will only use encryption if enabled from database side, otherwise will use unencrypted communication)

§
username?: string
[src]

Required. Username for the PostgreSQL connection.