WorkspaceConf
laktory.models.resources.databricks.WorkspaceConf
¤
Bases: WorkspaceConfBase
Databricks workspace configuration
Expert workspace configuration properties (e.g. enableIpAccessLists,
maxTokenLifetimeDays, enableTokensConfig). Declare a single instance
per workspace: several instances setting the same key have no
deterministic outcome.
Examples:
import io
from laktory import models
conf_yaml = '''
custom_config:
enableIpAccessLists: 'true'
maxTokenLifetimeDays: '90'
'''
conf = models.resources.databricks.WorkspaceConf.model_validate_yaml(
io.StringIO(conf_yaml)
)
| BASE | DESCRIPTION |
|---|---|
custom_config
|
TYPE:
|
| ATTRIBUTE | DESCRIPTION |
|---|---|
resource_key |
Singleton: named after the resource type
TYPE:
|
resource_key
property
¤
Singleton: named after the resource type