ArtifactAllowlist
laktory.models.resources.databricks.ArtifactAllowlist
¤
Bases: ArtifactAllowlistBase
Databricks Artifact Allowlist
Libraries and init scripts allowed on compute with standard (shared) access mode. All the allowed artifacts of a given type must be declared in a single resource.
Examples:
import io
from laktory import models
allowlist_yaml = '''
artifact_type: INIT_SCRIPT
artifact_matchers:
- artifact: /Volumes/dev/sources/init_scripts
match_type: PREFIX_MATCH
'''
allowlist = models.resources.databricks.ArtifactAllowlist.model_validate_yaml(
io.StringIO(allowlist_yaml)
)
| BASE | DESCRIPTION |
|---|---|
artifact_matcher
|
TYPE:
|
artifact_type
|
The artifact type of the allowlist. Change forces creation of a new resource
TYPE:
|
created_at
|
Time at which this artifact allowlist was set
TYPE:
|
created_by
|
Identity that set the artifact allowlist
TYPE:
|
metastore_id
|
ID of the parent metastore
TYPE:
|
laktory.models.resources.databricks.artifactallowlist.ArtifactAllowlistArtifactMatcher
¤
Bases: BaseModel
| PARAMETER | DESCRIPTION |
|---|---|
artifact
|
The artifact path or maven coordinate
TYPE:
|
match_type
|
The pattern matching type of the artifact. Only
TYPE:
|