Database Catalogs¶
Package: databricks.bundles.database_catalogs
Classes¶
- class DatabaseCatalog¶
A Database Catalog registers a Postgres database that lives in a Lakebase database instance as a catalog in Unity Catalog, so that the database’s schemas and tables are governed and discoverable through Unity Catalog. For an overview, see https://docs.databricks.com/aws/en/oltp/projects/register-uc.
- database_instance_name: str¶
[Public Preview] The name of the DatabaseInstance housing the database.
- database_name: str¶
[Public Preview] The name of the Postgres database in the instance that the catalog registers. The database must already exist unless create_database_if_not_exists is true. The system databases postgres, databricks_system, template0 and template1 cannot be registered.
- create_database_if_not_exists: bool | None = None¶
[Public Preview] If true, the database named in database_name is created in the instance when it does not already exist, with the calling user as its owner. Defaults to false.
- class DependsOn¶