fromInstance(
projectId: string,
region: string,
instance: string,
database: string,
ipType: PostgresEngineArgs = {}
): Promise<PostgresEngine>| Name | Type | Description |
|---|---|---|
projectId* | string | Required - GCP Project ID |
region* | string | Required - Postgres Instance Region |
instance* | string | Required - Postgres Instance name |
database* | string | Required - Database name |
ipType | PostgresEngineArgs | Default: {}Optional - IP address type. Defaults to IPAddressType.PUBLIC |